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
Double firing of event #324
Comments
I user the example code for test and it also trigger two times, it happened 100%. |
I had the same problem running the sample。 on windows 7 operation system |
in my case, it fires 10+ events. mac os. go 1.13 |
Ubuntu 19.10 double firing for me as well. |
best way to keep it under control is to md5sum compare changes |
windows 10, go1.14 double firing too. |
windows 10 (version 2004), go1.14 double firing as well |
same double READ result, Ubuntu 20.04 |
Debian 10 (MX Linux), Go 1.16. Possible Related Issues: |
Windows 10, go 1.17.2 |
Before reporting an issue, please ensure you are using the latest release of fsnotify.
Which operating system (GOOS) and version are you using?
Linux:
Distributor ID: Ubuntu
Description: Ubuntu 18.04.4 LTS
Release: 18.04
Codename: bionic
fsnotify version: ## v1.4.7 / 2018-01-09
Please describe the issue that occurred.
Modifying a file either with
or by means of a generic editor (vim/nano/sublime) generates single or double OP 0x2 events on a random base (say 50% of the times I get single OP 0x2 events, and the other half I get the event twice).
Are you able to reproduce the issue? Please provide steps to reproduce and a code sample if possible.
Full code reference @ https://medium.com/@skdomino/watch-this-file-watching-in-go-5b5a247cf71f
This is the sensible part:
The text was updated successfully, but these errors were encountered: