Skip to content

vilicvane/nodemand

Repository files navigation

NPM Package

🙅‍ 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

yarn global add nodemand
# or
npm install --global nodemand

Usage

nodemand [options] <module-path> [...args]
# example
nodemand server.js

Options

  • --debounce <delay> 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.

About

Restart Node.js process on required modules change.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published