Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/alallier/reload-sample-app
- Owner: alallier
- License: mit
- Created: 2020-01-13T21:03:53.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2024-09-12T01:34:26.000Z (4 months ago)
- Last Synced: 2024-09-12T11:29:03.877Z (4 months ago)
- Topics: javascript, npm, reload, sample-app
- Language: JavaScript
- Homepage:
- Size: 163 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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