Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zcong1993/hot-reload
Node hot-reload for backend.
https://github.com/zcong1993/hot-reload
Last synced: about 23 hours ago
JSON representation
Node hot-reload for backend.
- Host: GitHub
- URL: https://github.com/zcong1993/hot-reload
- Owner: zcong1993
- License: mit
- Created: 2018-01-23T09:28:20.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-02-08T02:28:06.000Z (over 6 years ago)
- Last Synced: 2024-10-05T14:48:04.318Z (about 1 month ago)
- Language: JavaScript
- Size: 112 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# hot-reload
[![NPM version](https://img.shields.io/npm/v/@zcong/hot-reload.svg?style=flat)](https://npmjs.com/package/@zcong/hot-reload) [![NPM downloads](https://img.shields.io/npm/dm/@zcong/hot-reload.svg?style=flat)](https://npmjs.com/package/@zcong/hot-reload) [![CircleCI](https://circleci.com/gh/zcong1993/hot-reload/tree/master.svg?style=shield)](https://circleci.com/gh/zcong1993/hot-reload/tree/master) [![donate](https://img.shields.io/badge/$-donate-ff69b4.svg?maxAge=2592000&style=flat)](https://github.com/zcong1993/donate)
> just a demo, use [nodemon](https://github.com/remy/nodemon)
## Install
```bash
$ yarn global add @zcong/hot-reload
```## Usage
```bash
$ reload koa-app.js
# cluster num
$ reload koa-app.js --cluster=4
# watch context
$ reload koa-app.js --context=./src
```## Contributing
1. Fork it!
2. Create your feature branch: `git checkout -b my-new-feature`
3. Commit your changes: `git commit -am 'Add some feature'`
4. Push to the branch: `git push origin my-new-feature`
5. Submit a pull request :D## Author
**hot-reload** © [zcong1993](https://github.com/zcong1993), Released under the [MIT](./LICENSE) License.
Authored and maintained by zcong1993 with help from contributors ([list](https://github.com/zcong1993/hot-reload/contributors)).> [github.com/zcong1993](https://github.com/zcong1993) · GitHub [@zcong1993](https://github.com/zcong1993)