Skip to content

NPM Package and Chrome extension to reload selected browser tab when given file(s) or directory changes!

License

Notifications You must be signed in to change notification settings

pnshiralkar/reload-onchange

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reload onchange

Reload selected browser tab when given file(s) or directory changes!


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.

Prerequisites:

  • Node v10+ and NPM
  • Google Chrome browser

Installation :

Usage :

  • 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!

Issues and contributing :

  • In case of any issues, visit and feel free to add issues in the issues page
  • Also feel free to contribute!

About

NPM Package and Chrome extension to reload selected browser tab when given file(s) or directory changes!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages