-
Notifications
You must be signed in to change notification settings - Fork 158
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
Add polling-style file watch option #53
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for this contribution, it already looks quite mature. Let's discuss some of the minor issues!
Co-authored-by: githubnemo <githubnemo@users.noreply.github.com>
Thanks a lot! The changes are well implemented and I can see them being useful to workaround the issues around Docker on Mac OS X and Windows bind mounts. |
thank you for your thoughtful reviews :) |
As discussed in #44 and #47, file watch via
fsnotify
is troublesome in some Mac OS X or Docker environment.So, I implemented optional polling-style file watch mechanism to avoid horrible file system issues as suggested in #44.
It still has optional parameter to choose either polling or fsevent, so non-OS X user won't be affected by this change.