-
-
Notifications
You must be signed in to change notification settings - Fork 731
Open
Labels
Description
add --debounce-interval to watchmedo shell-command subcommand
I am trying to restart a container and attach to it on python code changes:
watchmedo shell-command --patterns="*.py" --recursive --command='docker-compose restart worker && docker-compose attach worker'
But it is triggering many times and duplicating logs. It guess because on save, I also have auto-formatters that trigger a new file save.
I guess --wait or --drop do not work in this case because the attach command never ends.
Is there a way to delay watching changes after a first time change?
andrader