Many a times, we want to reload a webpage when files change (say, when backend server changes). This package along with a Chrome Extension automatically reloads webpage when given files change.
- Node v10+ and NPM
- Google Chrome browser
- Install Chrome Extension : Install from Chrome WebStore
- To install reload-onchange NPM package, RUN
npm i -g reload-onchange
- Run
reload-onchange /path/to/watch
and turn on the extension on Chrome tab you want to reload. - Run
reload-onchange /path/to/watch --port 8080 --delay 1500
to reload after delay of 1500ms and listen on port 8080 (Use same port on extension also!) - Run
reload-onchange --help
for more!
- In case of any issues, visit and feel free to add issues in the issues page
- Also feel free to contribute!