I observed the following:
Ever since I started using Ionic Deploy to publish updates via “ionic upload …”, I’m no longer able to work with the iOS simulator in live-reload mode (“ionic emulate ios --livereload”).
Code changes do not get applied, until I run “ionic upload” and then re-run “ionic emulate ios”.
When I run “ionic emulate ios --livereload” and change a file, I only see these lines in the terminal, but nothing changes in the iOS simulator:
I thought that “ionic emulate” works completely independent from “ionic upload”, serving me the current state of my code. But now it looks like the two are somehow tied together: “ionic emulate” serves me the state of the app, which was last deployed via “ionic upload”.
Am I missing something regarding “ionic emulate” and “ionic upload”?
How are you able to emulate with live-reloading AND keep using Ionic Deploy?
Edit: New system information after upgrading to latest versions:
@ionic/cli-utils : 1.1.2 Cordova CLI : 6.5.0 Ionic CLI : 3.1.2
@ionic/app-scripts : 1.3.7 @ionic/cli-plugin-cordova : 1.1.2 @ionic/cli-plugin-ionic-angular : 1.1.2 Ionic Framework : ionic-angular 3.2.1
Node : v6.10.2 OS : macOS Sierra Xcode : Xcode 8.3.1 Build version 8E1000a ios-deploy : 1.9.1 ios-sim : 5.0.13
[details=My original system information]
Cordova CLI: 6.5.0
Ionic Framework Version: 2.2.0
Ionic CLI Version: 2.2.2
Ionic App Lib Version: 2.2.1
Ionic App Scripts Version: 1.1.4
ios-deploy version: 1.9.1
ios-sim version: 5.0.13
OS: macOS Sierra
Node Version: v6.10.2
Xcode version: Xcode 8.3.1 Build version 8E1000a[/details]