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
Change event is fired when file is opened #985
Comments
Opened with what? |
Any respective application. For example images with Preview app, movie with Quick time, txt with Sublime etc. |
Could you test this with 3.0 or 3.1? |
So the same behavior in previous versions as well. Digging in further looks like fs.watch has the same issue. Whenever a file opened, it fires a change event. |
Interesting. Our low-level fsevents pkg reports |
Is it possible that it's reporting an change of atime? |
Yeah it is a change of atime but i don't think this is supposed to happen as described in this issue. Somehow it got closed for some reason #750 but this is still an issue. |
Just ran into this issue today with image files (.png to be specific). It occurs every time I open the file in Preview. |
Yes, it still happens for every kind of opening (even when folders are opened in Finder). |
This is still the case today with version 3.5.3 |
Still an issue in October 2023, anything we can do to help? |
@marbiano unfortunately only a pull req |
Describe the bug
Change event is fired when a file is opened.
When watching a folder, opening a file triggers a change event, even though the file has not been modified. Tested it with images, movies, text files etc.
Versions (please complete the following information):
Expected behavior
Should not fire change event unless there is a change in the file
The text was updated successfully, but these errors were encountered: