Skip to content

Conversation

@pavel-kolesnikov
Copy link

@pavel-kolesnikov pavel-kolesnikov commented May 5, 2021

This will add a per-block defined silence period (widely known as debounce).
Hopefully will suffice to close #86 (also close #55).

Default behavior: no pause.

Example:

** {
  silence: 1s
  prep: echo "no more then once a second"
}

Will produce some backoff log like this
image

Also I used Note log level, but had no idea how to make the message from debouncer to be not visible by default. Help hre appreciated.

@pavel-kolesnikov pavel-kolesnikov changed the title WIP: add silence period a.k.a. debounce add silence period a.k.a. debounce May 5, 2021
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

Successfully merging this pull request may close these issues.

Execute prep commands only once if there were many file changes during previous commands execution Don't rerun unnecessarily

1 participant