This is the sample application to demonstrate the functionality of the reload node module.
- Install dependencies
npm i
- Run
npm start
- Make a noticeable change to index.html in the
public
directory - The server should restart and the browser should automatically reload with the changes
- Note: When implementing reload into your application it is up to you to implement an automatic server reload with server reload tools like supervisor, nodemon, etc. Otherwise you will have to manually reload the server before reload will do the automatic browser refresh