https://github.com/vilicvane/nodemand
Restart Node.js process on required modules change.
https://github.com/vilicvane/nodemand
node node-dev nodemon watch
Last synced: about 1 year ago
JSON representation
Restart Node.js process on required modules change.
- Host: GitHub
- URL: https://github.com/vilicvane/nodemand
- Owner: vilicvane
- License: mit
- Created: 2020-07-21T17:27:30.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-10-01T10:33:42.000Z (almost 3 years ago)
- Last Synced: 2025-06-17T19:04:05.430Z (about 1 year ago)
- Topics: node, node-dev, nodemon, watch
- Language: JavaScript
- Homepage:
- Size: 127 KB
- Stars: 21
- Watchers: 0
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://www.npmjs.com/package/nodemand)
# 🙅 Nodemand
Restart Node.js process on required modules change.
A light-weight alternative to tools like `nodemon` and `node-dev`, watches module files found in `ESMLoader` after start and no modification is made to the runtime objects.
It supports both ES module and CommonJS.
## Installation
```bash
yarn global add nodemand
# or
npm install --global nodemand
```
## Usage
```bash
nodemand [options] [...args]
# example
nodemand server.js
```
### Options
- `--debounce `
Debounce restart after change detection, defaults to 1000.
- `--node-modules`
Watch also files under node_modules (symbolic links will be resolved before filtering).
- `--color`, `--no-color`
Force color or no color in console output.
- Other Node.js command line options.
## License
MIT License.