commands: Update debouncer version

This commit is contained in:
Bjørn Erik Pedersen 2019-02-02 12:04:42 +01:00
parent 483cf19d5d
commit 7e4b18c5ae
3 changed files with 4 additions and 5 deletions

View file

@ -143,7 +143,7 @@ func newCommandeer(mustHaveConfigFile, running bool, h *hugoBuilderCommon, f fla
// The time value used is tested with mass content replacements in a fairly big Hugo site.
// It is better to wait for some seconds in those cases rather than get flooded
// with rebuilds.
rebuildDebouncer, _, _ = debounce.New(4 * time.Second)
rebuildDebouncer = debounce.New(4 * time.Second)
}
c := &commandeer{