Best of both worlds supervisor and forever
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?