I just updated our app to RC0 and the performance is much better, I have a problem with --livereload. When i run :
ionic run android --target=DEVICEID -l -c
when i change anything in the .ts files, it doesn’t reload but i tried changing main.js file and it reloads the compiler.
any ideas ?
my ionic info :
Cordova CLI: 6.3.1
Ionic Framework Version: 2.0.0-rc.0
Ionic CLI Version: 2.1.0
Ionic App Lib Version: 2.1.0-beta.1
ios-deploy version: 1.9.0
ios-sim version: 5.0.8
OS: Mac OS X Yosemite
Node Version: v6.7.0
Xcode version: Xcode 6.2 Build version 6C131e
ionic team please help us solve this problem, we use google map native for our app and we are stuck with this update its been 2 days that we wait 40 seconds every time we update a single line of code. I think this post and RC.0: how do you use the Chrome Debugger with the Rollup bundler? are the most important topics right now
another workaround… i found out that, for ionic run, the watch command is actually not getting triggered… meanwhile, for serve, its always on… Im afraid they might missed to listen for livereload option and adding watch command where required…
so, i end up adding another scripts command to package.json to make sure watch is triggered when running ionic run… but this will enforce watch in both development and production… (maybe not, I’m not sure how this works) so, maybe you want to add some environment detection there…