Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70923

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

$
0
0

@heliosbridge wrote:

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?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70923

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>