when I pass --watch ../ (or anything similar) it converts the dots into astrikses...
/:
Same issue for me too. I even tried putting in the absolute path and it doesn't work either.
Anybody have a solution for this one?
mkdir -p /foo/bar
cd /foo/bar
nodemon -w ../
The result:
[nodemon] 1.9.1
[nodemon] to restart at any time, enter `rs`
[nodemon] watching: /foo/**/*
And it's the expected behaviour: we are watching anything in /foo, even if it is in subdirectories.
I can't find the problem?
This issue has been automatically marked as idle and stale because it hasn't had any recent activity. It will be automtically closed if no further activity occurs. If you think this is wrong, or the problem still persists, just pop a reply in the comments and @remy will (try!) to follow up.
Thank you for contributing <3
Same problem here.
What behaviour have you got? What do you expect?
When i try to watch ( ../ ) parent directory there is no response from nodemon on change.
Watching just works for files that are nested or in root of package.json file.
This seems to be working correctly in nodemon version 1.19.1 with both --watch .. and --watch ../.
Most helpful comment
The result:
And it's the expected behaviour: we are watching anything in
/foo, even if it is in subdirectories.I can't find the problem?