Run a small web server without caching (http-server)
install the web server (in a folder with package.json)
npm i http-server
run the web server, with caching disabled:
node_modules/.bin/http-server -c-1 -p 8123 src/index.html
note: the -c-1 flag means "cache is valid for -1 seconds"
install the web server (in a folder with package.json)
npm i http-server
run the web server, with caching disabled:
node_modules/.bin/http-server -c-1 -p 8123 src/index.html
note: the -c-1 flag means "cache is valid for -1 seconds"
Comments
Post a Comment