Simple autoreload server for serving static/json files etc.
Sometimes you need to serve some static content on a local port e.g.
8080 but without a real HTTP proxy server like
nginx. Just opening your
file:// sometimes may have an issue with including another static content:
json files, fonts due to
To easily solve it you can install
sudo npm install -g simple-autoreload-server
Then go to dir with
index.html and run:
autoreload-server -p 8080 --no-list-directory