Hi I'm a nodeJS and command line noob. I've managed to get a linux box up running and everything is fine. However restarting the node scripts every time I make changes is beginning to frustrate. So I'm trying to set up node supervisor. https://github.com/isaacs/node-supervisor
All installed fine but when I try to set it up using the following from the command line (putty)
supervisor test.js
I get supervisor: command not found
Does anyone have any idea why this would be? many thanks
it means supervisor isn't in your path or wasn't set with execute permissions. Find supervisor then use the full path to it. it's possibly still in the build folder if you forgot to install it system-wide.
You should install supervisor globally with -g command option
> npm install -g supervisor
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With