-
Notifications
You must be signed in to change notification settings - Fork 110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug in entr
call to watch_folder
#470
Labels
Comments
samanklesaria
added a commit
to samanklesaria/Revise.jl
that referenced
this issue
Apr 30, 2020
samanklesaria
added a commit
to samanklesaria/Revise.jl
that referenced
this issue
May 4, 2020
I think this is now fixed by #488 EDIT: no, it's not. Watching directories with EDIT(again): further tests seem to indicate that watching directories works (at least on Linux), provided that the trailing forward slash is not ommited. I.e.
works, but not
|
timholy
added a commit
that referenced
this issue
May 25, 2020
timholy
added a commit
that referenced
this issue
May 25, 2020
Closed
ffevotte
added a commit
to ffevotte/Revise.jl
that referenced
this issue
Jun 2, 2020
This fixes uses of `entr` to watch directories, both when `Revise` watches directories (`watching_files[] = false`) and when it watches directories (`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
ffevotte
added a commit
to ffevotte/Revise.jl
that referenced
this issue
Jun 6, 2020
This fixes uses of `entr` to watch directories, both when `Revise` watches directories (`watching_files[] = false`) and when it watches directories (`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
ffevotte
added a commit
to ffevotte/Revise.jl
that referenced
this issue
Jun 6, 2020
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
ffevotte
added a commit
to ffevotte/Revise.jl
that referenced
this issue
Jun 6, 2020
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
timholy
added a commit
that referenced
this issue
Jun 7, 2020
Allow `entr` to watch directories (fixes #470)
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Line 822 of Revise.jl calls
FileWatching.watch_folder
. It then callsret.changed
on the result. ButFileWatching.watch_folder
returns a pair:As the documentation says:
Should be an easy fix. I'll make a pull request.
The text was updated successfully, but these errors were encountered: