zapty / forever-service

Provision node script as a service via forever, allowing it to automatically start on boot, working across various Linux distros and OS
https://github.com/zapty/forever-service
MIT License
594 stars 65 forks source link

nodemon not work with forever #25

Closed nvcken closed 9 years ago

nvcken commented 9 years ago

I use

forever-service install my_service -s app.js -f " -c nodemon" -o " --exitcrash" -e "PATH=/usr/local/bin:$PATH"

But nodemon do not work (app should auto restart) when I modify app.js or whatever js file as nodemon do when I use only forever start -c nodemon app.js --exitcrash

nvcken commented 9 years ago

My wrong, It works