forked from timholy/Revise.jl
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix test case for
entr
on directories
This fixes uses of `entr` to watch directories, both when `Revise` watches directories (`watching_files[] = false`) and when it watches files (`watching_files[] = true`). Tests mirror those defined for `entr` on regular files, and check in particular that: - file creations, modifications and deletions in the directory are correctly detected; - clustered notifications trigger the callback only once; - empty directories are correctly handled (i.e. they remain in the watch list even when all files in them are deleted). Closes: timholy#470
- Loading branch information
Showing
3 changed files
with
63 additions
and
21 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
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