-
Notifications
You must be signed in to change notification settings - Fork 681
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
watchmedo detect file change but execute command twice #446
Comments
Indeed, that's happening. On Linux, a simple Saving it on |
Probably it would be better to split this project into 2: the library ( I've fixed this issue on dose by adding a single runner with a "debouncer" that:
Actually, that was so fast that used to break watchdog on Linux due to a strange event happening on a deleted directory, so I fixed it upstream. But, that's an issue regarding a single runner triggered by an event. It's an application (like the |
I had the same problem, and a quick workaround was to use |
Hi,
I try this simple example :
watchmedo shell-command --patterns="*.bin" --command 'copytoserver.bat'
which works quite well : when a .bin is created on the current directory, copytoserver.bat is executed TWICE, not just ONCE
Is it an issue or I am missing something in probiding good arguments ?
Thanks for help
Gilles
The text was updated successfully, but these errors were encountered: