ionic info :
Ionic CLI : 5.2.4 (C:\Users\Phincon\AppData\Roaming\npm\node_modules\ionic)
Ionic Framework : ionic1 1.3.1
@ionic/v1-toolkit : 1.0.22
Cordova:
Cordova CLI : 8.1.2 (cordova-lib@8.1.1)
Cordova Platforms : android 7.1.4
Cordova Plugins : no whitelisted plugins (6 plugins total)
Utility:
cordova-res : not installed
native-run : not installed
System:
Android SDK Tools : 26.1.1 (C:\Users\Phincon\AppData\Local\Android\Sdk)
NodeJS : v10.16.2 (C:\Program Files\nodejs\node.exe)
npm : 6.10.3
OS : Windows 10
how can i run gulp automatically when ionic serve / live reloading ?
i have add this config
"scripts": {
"ionic:serve:before" : "gulp" ,
"ionic:build:before" : "gulp"
}
at my package.json file, and it do run gulp before finish serve. But when i change any html file and trigger the live reloading, the gulp not triggered anymore. I also tried to add :
gulp.task('ionic:serve:before', gulp.series('default'),
function (done) {
done();
});
in my gulpfile.js but its not working too. Please throw some enlightment for anyone who ever encountered this case before. Thanks in advanceā¦