-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix race condition with recursive directories in NodeWatcher (#95)
* Add unit test for multi-level subdirectory creation This problem occurs when you use `mkdir -p`, or make two folders at once. Nothing below the second level is watched properly with polling or "normal" mode. It works as expected when using watchman. * Fix race condition with recursive directories in NodeWatcher - add two tests to demonstrate problem - modify node_watcher to recursively register new directories
- Loading branch information
1 parent
dde845f
commit 6dc7022
Showing
2 changed files
with
91 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters