-
Notifications
You must be signed in to change notification settings - Fork 111
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
Allow entr
to watch directories (fixes #470)
#492
Conversation
Hmm, trickier than expected. Putting this on hold. |
Hopefully this works, at least when
I can think of at least 2 ways of handling the
If we follow way (2), I'm not sure whether tests will be representative of what would happen on a real BSD system. In other words, I'm not sure whether we can claim that this feature is supported on all systems, because tests might very well pass only thanks to a Linux-specific behavior regarding directories-considered-as-regular-files. |
Here is an example of preliminary exploration of way (2) above:
@timholy would you have an opinion on the best way to move forward? |
I'd say we should get For the more ambitous part,
I strongly agree with this viewpoint, though not opposed to making it work if it's pretty easy. When I started to think this was more complicated I was starting to get concerned that the emptiness of |
Hopefully tests pass for #496, and that part will be done.
OK. I'll try to propose a PR that goes this way. Without having any easy way to test on BSD platforms, this seems to be the safest option.
I'll try and keep this (valid) concern in mind, but according to my first experiments around watching directories, this was not an issue when |
Sorry again to be slow to respond, I've been pretty consumed by #497.
As of be0b61f, CI runs its tests on Julia>=1.3, linux, once with file-watching |
Fixes #470, CC @ffevotte.
Also updates the devdocs for all the latest changes.