Closed martinsik closed 2 years ago
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
Automatically closing this issue due to lack of activity
nodemon -v
: 2.0.15Expected behaviour
Script will restart after making changes in a watched directory that is specified usign a relative path from cwd.
Actual behaviour
Changes are not detected. Only changes to subdirectories from cwd
./
are detected. While using"legacyWatch: true"
changes are properly detected.This issue seems to be similar: https://github.com/remy/nodemon/issues/909
Steps to reproduce
I have the following
nodemon.json
:When I make a change (recompile) file in any directory starting with
../
(outside cwd) for example in../utils/.build
the change is not detected while making changes in ./src or ./environments is detected properly.When I add
"legacyWatch": true
then changes in any directory are detected as expected.