Ionic livereload feature does not work for changes in .ts files while it works for html


#1

Hello, I have a question on ‘ionic serve’ livereload feature. I launch my ionic app in google chrome (using the ‘ionic serve’ command). Then I change one of the html pages of my app (e.g. changing some color from primary -> secondary). As expected the app refreshes in the browser and I see my change: thats great. Now I change the ‘.ts’ file that belongs to the page. Within the CLI I see a successful build and the app refreshes in the browser but the javascript code is NOT updated. Cleaning the browser cache does not work either, it still loads the old js-code. The only way to view the changes made in my .ts file is to stop the livereload server and restart ‘ionic serve’. What could be the problem?