I am coding a front-end in VSCode and I am trying to get a local webserver running so I can debug. NodeJS has a simple webserver called http-server that I set up and ran, giving it my project directory to serve. The problem is it keeps serving old version of index.html, even if I restart the server. It seems like the server has permanently cached it somehow, how can I fix?
How can I make the server serve up to date index.html files?
I read that you can disable caching using this
http-server -c-1
But this does not work either. Still get old version.
via Volatile
No comments:
Post a Comment