Simple Nodejs app reloader for development.
This will reload the app when any of the files are changed, edited, deleted or saved.
- Install as a dev-dependecy
npm i nodevl --save-dev
oryarn add nodevl --dev
- Install as a global module
npm i nodevl -g
- As a dev-dependency On
package.json
create a scriptdev: nodevl your.js
and run it withnpm run dev
- As a global module, you can directly run
nodevl your.js
is similar to runningnode your.js
- You can pass extra environment variables by using
--env
option. eg.nodevl your.js --env=PORT=8080,DEBUG=*
- By default, this module ignores the
node_modules
folder in addition, you can also pass--ignored
option to add ignored directories/folders/file. eg.nodevl your.js --ignored=dist/test,test,build
this will ignoredist/test
,test
, andbuild
folders