mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 19:57:22 +08:00
chore(gulp): update core task to run done on compile
This commit is contained in:
@ -37,10 +37,10 @@ function buildAngularBinding(isDevAndWatch: boolean, done: Function) {
|
||||
|
||||
ls.stdout.on('data', (data) => {
|
||||
console.log(data.toString().trim());
|
||||
// if (!hasRunDone && data.toString().trim().indexOf('compile, done') > -1) {
|
||||
// hasRunDone = true;
|
||||
// done();
|
||||
// }
|
||||
if (!hasRunDone && data.toString().trim().indexOf('compile, done') > -1) {
|
||||
hasRunDone = true;
|
||||
done();
|
||||
}
|
||||
});
|
||||
|
||||
ls.stderr.on('data', (data) => {
|
||||
@ -48,6 +48,9 @@ function buildAngularBinding(isDevAndWatch: boolean, done: Function) {
|
||||
});
|
||||
|
||||
ls.on('close', (code) => {
|
||||
if (!hasRunDone) {
|
||||
hasRunDone = true;
|
||||
done();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
@ -7,13 +7,15 @@
|
||||
|
||||
|
||||
ion-icon {
|
||||
visibility: inherit !important;
|
||||
|
||||
display: inline-block;
|
||||
|
||||
font-size: 1.2em;
|
||||
}
|
||||
|
||||
ion-icon.hydrated {
|
||||
visibility: inherit;
|
||||
}
|
||||
|
||||
ion-icon[small] {
|
||||
min-height: 1.1em;
|
||||
|
||||
|
@ -709,7 +709,6 @@ export interface VNodeData {
|
||||
on?: any;
|
||||
vkey?: Key;
|
||||
vns?: string; // for SVGs
|
||||
[key: string]: any; // for any other 3rd party module
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user