Watch and restart your Node.js application.
- Light and fast alternative to nodemon.
- Keep the number of dependencies low.
- Focus on Node.js support only.
This package is available in the Node Package Repository and can be easily installed with npm or yarn.
$ npm install watch-my-app -g
# or
$ npx watch-my-app
When installed globally the watchapp
executable will be exposed in your terminal
$ cd myApplication
$ watchapp
By default watchapp will read your local package.json and search for the main
field. It's possible to overwrite this behavior by using the --entry
/ -e
option.
$ watchapp -e ./server.js
For more options just run with --help
$ watchapp --help
MIT