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

example with single file on macOS triggers only remove event #41

Open
shakfu opened this issue Apr 8, 2023 · 2 comments
Open

example with single file on macOS triggers only remove event #41

shakfu opened this issue Apr 8, 2023 · 2 comments

Comments

@shakfu
Copy link

shakfu commented Apr 8, 2023

Hi,

The example with '.' directory works as expected on macOS (x86_64), however when changed to a in-directory single text file which is opened with a text editor (sublimetext), the only event triggered is Event::removed even though some text to the file and it was saved.

This is inconsistent with the file watcher behavior when the directory is specified and which works as expected.

undici77 pushed a commit to undici77/filewatch that referenced this issue Aug 27, 2024
@undici77
Copy link

Hi,

here the fix:

https:/undici77/filewatch/tree/macos-remove-event-only-fix

moreover, if you are interested, I propose another fix too:

https:/undici77/filewatch/tree/macos-multi-instanse-issue

@shakfu
Copy link
Author

shakfu commented Aug 27, 2024

@undici77

Nice!

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

No branches or pull requests

2 participants