https://github.com/isaacs/node-supervisor
I want to watch everything inside the “api” directory and all its subdirectories (recursively). How can I do that?
sudo supervisor -w app.js,api app.js
This doesn’t seem to work. It only watches the “api” directory, not its subdirectories.
Seems to be working and detect changes for me.
If I use this to load the file:
And Have a main node file:
Then, just using:
is going to detect changes in folder/test/variables, which is a subfolder.
Actually, supervisor says it is monitoring the current folder:
It is also reloading the files in folder/test if I use:
So, I guess you may have a different version of supervisor ? I am using 0.2