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

Question: Multiple file changes report has one event #114

Open
Narven opened this issue Oct 15, 2021 · 1 comment
Open

Question: Multiple file changes report has one event #114

Narven opened this issue Oct 15, 2021 · 1 comment

Comments

@Narven
Copy link

Narven commented Oct 15, 2021

This is not an Issue and I apoligise for it. But I wanted to ask if I'm monitoring recursively some folders, and there is a change that affects 20 files, like a multiple rename on files or multiple rename on some word inside multiple files, is it possible for this to be triggered has 1 event, instead of 20? with this package.

thanks.

PS: I know there is the possibility of setting some timer? is this the only option?

@sgohl
Copy link

sgohl commented Nov 9, 2022

I have the same problem - the polling interval does not address this.

When 200 changes occur, watcher seems to chain it and executes the specified command 200 times then.
That's unfortunate.

We would need an option to make the watcher wait a certain amount of time before executing the command if nothing changed in that period of time, and only then it should execute the command (once)

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