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

Atomic renames don't trigger all filewatchers #163

Open
7ojo opened this issue Oct 21, 2019 · 1 comment
Open

Atomic renames don't trigger all filewatchers #163

7ojo opened this issue Oct 21, 2019 · 1 comment
Assignees

Comments

@7ojo
Copy link

7ojo commented Oct 21, 2019

I'm currently developing with Buffalo framework and running it inside container using dev mode with buffalo dev command.

And seems that buffalo is using fsnotify for listening filesystem events and when using mutagen for syncing sources between host and container file change/modification is not triggered inside container and thus doesn't trigger the build on buffalo dev mode.

Syncing seem to work perfectly fine, but i'm missing some filesystem events.

@xenoscopic
Copy link
Member

Thanks for the report. I suspect this is the same issue that #158 is addressing (namely that Mutagen swaps files in with an atomic rename operation that some file watchers don't pick up on). The solution here is probably going to be the touch operations described in #158. See the Spectrum chat for a bit more background information.

If that doesn't sound like the problem you're having, please let me know. I'll use this as the tracking issue for now and update it once I ship out a fix. I can't give an exact date at the moment, but there's a backlog of issues that I'd like to get through by the end of the coming weekend.

@xenoscopic xenoscopic changed the title Some filesystem events not triggered inside Docker environment Atomic renames don't trigger all filewatchers Oct 21, 2019
@xenoscopic xenoscopic self-assigned this Oct 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants