A simple autoreload script with no project build configuration needed.
Paste snippet from browser.js
in your index.html file.
You can run git update-index --assume-unchanged <path/to/yourfile>
to ignore the changes.
- Clone repo
- Run
npm i
- Specify folder to watch in index.js
- Start server
node index.js
The browser will reload when you save!