I'm learning AngularJS. I'm using npm http-server to run the project locally.
The problem is, whenever I make changes to App.js the change doesn't get reflected on the site. I try refreshing the page, it doesn't update the changes to JS. I also tried http-server -o -c-1 and still it doesn't refresh the cache.
The only thing that makes the App.js update is clearing the browser cache. How should I be doing this?
You can try to use live-server instead. It works for me.
npm install live-server -g
And you can start it simply by the command live-server.