I'm learning this Angular JS tutorial from Udemy. I used http-server
for running the application locally.
The issue here is - When I run my application using http://localhost:8080
on Google Chrome, the changes that I make in the code are not reflecting on the browser right away. I need to close my browser and reopen or I need to open my application in Google chrome's incognito mode it's working fine.
May I know why this is happening? Is it because of Cache? Can anyone explain!
you need to press ctrl+F5 for refresh.Ctrl-F5 forces a cache refresh, and will guarantee that if the content is changed, you will get the new content.