I am building out a front-end web app with angular (mostly ui-router) and doing local development by serving the html files through node http-server. I have noticed that http-server isn't serving my static html files when I make updates, which is challenging to my local development.
I have http-server installed globally with npm install http-server -g
and start it up by going to the root project folder and running http-server
. It defaults to localhost:8080- the two ways that seem to work is changing the port number after each update or going through chrome incognito mode.
Is there a way to use http-server normally without having to change the port or using incognito mode?
If it is relevant, I am using MBP v. 10.11.3
Thank you!