Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/alallier/reload-sample-app

Sample application for reload node module
https://github.com/alallier/reload-sample-app

javascript npm reload sample-app

Last synced: about 1 month ago
JSON representation

Sample application for reload node module

Awesome Lists containing this project

README

        

# reload-sample-app

This is the sample application to demonstrate the functionality of the [reload](https://www.npmjs.com/package/reload) node module.

## Instructions

1. Install dependencies `npm i`
2. Run `npm start`
3. Make a noticeable change to index.html in the `public` directory
4. 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](https://www.npmjs.com/package/supervisor), [nodemon](https://www.npmjs.com/package/nodemon), etc. Otherwise you will have to manually reload the server before reload will do the automatic browser refresh