Note: for support questions, please use one of these channels:
https://forum.ionicframework.com/
http://ionicworldwide.herokuapp.com/
Using 1.2.2 of ionic-app-scripts and ionic serve - occasionally components will not be compiled. e.g., if I make a change to a Provider, the build completes and reloads the browser, but the changes are not reflected (or intermittently reflected, sometimes I can refresh the page and they'll appear, but after another refresh will be gone again).
All changes to be reflected and persistent after build completes.
Steps to reproduce:
Which @ionic/app-scripts version are you using?
Ionic Framework Version: 2.2.0
Ionic CLI Version: 2.2.1
Ionic App Lib Version: 2.2.0
Ionic App Scripts Version: 1.2.2
ios-deploy version: 1.9.0
ios-sim version: 5.0.13
OS: macOS Sierra
Node Version: v6.9.1
Xcode version: Xcode 8.2.1 Build version 8C1002
Other information: (e.g. stacktraces, related issues, suggestions how to fix, stackoverflow links, forum links, etc)
Is probably related to #825
Had initially reported this on 1.2.1, upgraded to 1.2.2 and issue persists.
Issue also present on nightly 1.2.2-201703281515
This is related to the --iscordovaserve flag on the ionic:serve script.
Removing this removes this bug, but then renders the above flag useless.
Scrach above, still occurs with standard ionic:serve.
Issue persists in 1.2.5
This was actually caused by the default service-worker being enabled.
Commenting out from index.html and deregistering via chrome://serviceworker-internals/ fixed the issue.
Most helpful comment
Issue persists in 1.2.5