Skip to content
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

Merged
merged 9 commits into from
Nov 29, 2020

Conversation

HurSungYun
Copy link
Contributor

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.

Copy link
Owner

@githubnemo githubnemo left a 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!

daemon.go Outdated Show resolved Hide resolved
daemon.go Outdated Show resolved Hide resolved
daemon.go Outdated Show resolved Hide resolved
watcher.go Outdated Show resolved Hide resolved
watcher.go Outdated Show resolved Hide resolved
watcher.go Outdated Show resolved Hide resolved
daemon.go Outdated Show resolved Hide resolved
daemon.go Outdated Show resolved Hide resolved
@githubnemo
Copy link
Owner

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.

@githubnemo githubnemo merged commit e4782d7 into githubnemo:master Nov 29, 2020
@HurSungYun
Copy link
Contributor Author

thank you for your thoughtful reviews :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants