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) => {
|
ls.stdout.on('data', (data) => {
|
||||||
console.log(data.toString().trim());
|
console.log(data.toString().trim());
|
||||||
// if (!hasRunDone && data.toString().trim().indexOf('compile, done') > -1) {
|
if (!hasRunDone && data.toString().trim().indexOf('compile, done') > -1) {
|
||||||
// hasRunDone = true;
|
hasRunDone = true;
|
||||||
// done();
|
done();
|
||||||
// }
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
ls.stderr.on('data', (data) => {
|
ls.stderr.on('data', (data) => {
|
||||||
@ -48,6 +48,9 @@ function buildAngularBinding(isDevAndWatch: boolean, done: Function) {
|
|||||||
});
|
});
|
||||||
|
|
||||||
ls.on('close', (code) => {
|
ls.on('close', (code) => {
|
||||||
done();
|
if (!hasRunDone) {
|
||||||
|
hasRunDone = true;
|
||||||
|
done();
|
||||||
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
@ -7,13 +7,15 @@
|
|||||||
|
|
||||||
|
|
||||||
ion-icon {
|
ion-icon {
|
||||||
visibility: inherit !important;
|
|
||||||
|
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
|
||||||
font-size: 1.2em;
|
font-size: 1.2em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ion-icon.hydrated {
|
||||||
|
visibility: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
ion-icon[small] {
|
ion-icon[small] {
|
||||||
min-height: 1.1em;
|
min-height: 1.1em;
|
||||||
|
|
||||||
|
@ -709,7 +709,6 @@ export interface VNodeData {
|
|||||||
on?: any;
|
on?: any;
|
||||||
vkey?: Key;
|
vkey?: Key;
|
||||||
vns?: string; // for SVGs
|
vns?: string; // for SVGs
|
||||||
[key: string]: any; // for any other 3rd party module
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user