https://github.com/eldoy/wdev
Websocket automatic code reloading
https://github.com/eldoy/wdev
Last synced: about 1 month ago
JSON representation
Websocket automatic code reloading
- Host: GitHub
- URL: https://github.com/eldoy/wdev
- Owner: eldoy
- Created: 2021-01-08T04:01:42.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-01-08T04:54:26.000Z (over 5 years ago)
- Last Synced: 2025-02-22T19:24:49.258Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 0 Bytes
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Websocket automatic code reloading
Use this library to automatically reload the page when you restart your development web server (on save).
Made to work with the [Waveorb Web Development Framework.](https://waveorb.com)
### Usage
Copy the `dev.js` file to `app/assets/js` and include it in your layout (`default.js`) with:
```js
${process.env.NODE_ENV === 'development' ? '' : ''}
```
MIT Licensed. Enjoy!