Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 20 days 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 (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-10-01T10:33:42.000Z (about 1 year ago)
- Last Synced: 2024-11-30T15:41:58.918Z (23 days ago)
- Topics: node, node-dev, nodemon, watch
- Language: JavaScript
- Homepage:
- Size: 127 KB
- Stars: 20
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![NPM Package](https://badge.fury.io/js/nodemand.svg)](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.