Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bert0324/web-hot-replacement-demo
A demo for browsers' hot replacement, see details in https://github.com/Bert0324/js-playground/blob/master/modularization/hot_reload.md
https://github.com/bert0324/web-hot-replacement-demo
Last synced: about 2 months ago
JSON representation
A demo for browsers' hot replacement, see details in https://github.com/Bert0324/js-playground/blob/master/modularization/hot_reload.md
- Host: GitHub
- URL: https://github.com/bert0324/web-hot-replacement-demo
- Owner: Bert0324
- Created: 2019-07-22T23:31:33.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-07-22T23:54:26.000Z (over 5 years ago)
- Last Synced: 2024-04-16T20:09:23.565Z (8 months ago)
- Language: JavaScript
- Homepage:
- Size: 987 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This Demo is for this [blog](https://github.com/Bert0324/js-playground/blob/master/modularization/hot_reload.md).
## Run it
```
npm install
node server.js
```Next, open http://localhost:3002 to see console. And change timer's value in task.js, to see
whether the log value is changed in the browser.