We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Before reporting an issue, please ensure you are using the latest release of fsnotify.
Linux: No LSB modules are available. Distributor ID: Pop Description: Pop!_OS 21.04 Release: 21.04 Codename: hirsute
Emits multiple of the same events on change
I've tried to debounce, but it didn't work.
I'm trying to have it do only emit one event, say on save or a file being deleted.
The goal is to run a function once on a save/create/delete event.
The text was updated successfully, but these errors were encountered:
this is a common "issue" and is solved creating a batcher of some kind. the implementation is up to you. look here for an example.
This is not an "issue" per se.
Sorry, something went wrong.
Maybe all these "multiple events" issues should be addressed with documentation in the README?
Maybe a built-in batcher is a reasonable feature request as well?
wip
4a345a2
Fixes #122 Fixes #401
Successfully merging a pull request may close this issue.
Before reporting an issue, please ensure you are using the latest release of fsnotify.
Which operating system (GOOS) and version are you using?
Linux:
No LSB modules are available.
Distributor ID: Pop
Description: Pop!_OS 21.04
Release: 21.04
Codename: hirsute
Please describe the issue that occurred.
Emits multiple of the same events on change
I've tried to debounce, but it didn't work.
I'm trying to have it do only emit one event, say on save or a file being deleted.
The goal is to run a function once on a save/create/delete event.
The text was updated successfully, but these errors were encountered: