It will automatically rebuild what is necessary and restart when you make a change.
Best of both worlds supervisor and forever
cani last edited by
I setup supervisor so I can run ./nodebb watch and have it automatically restart when I ftp changes to nodebb which works great. The problem is it runs in the foreground and I have to leave the terminal window open or the app exits.
So I installed forever which allows me to run nodebb in the background but now it doesn't automatically restart when I edit a file.
My question is how can I use forever and still have it restart on file changes?
forever start -w
Should watch for file changes like supervisor.
You can check out all the options for forever here.