62 lines
3.3 KiB
Diff
62 lines
3.3 KiB
Diff
|
From a9ccc9df05b2d5b0f6e1f0b45adeacc27eeb4930 Mon Sep 17 00:00:00 2001
|
||
|
From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?=
|
||
|
<bjorn.erik.pedersen@gmail.com>
|
||
|
Date: Sat, 2 Feb 2019 12:04:42 +0100
|
||
|
Subject: [PATCH] commands: Update debouncer version
|
||
|
|
||
|
---
|
||
|
commands/commandeer.go | 2 +-
|
||
|
go.mod | 2 +-
|
||
|
go.sum | 5 ++---
|
||
|
3 files changed, 4 insertions(+), 5 deletions(-)
|
||
|
|
||
|
diff --git a/commands/commandeer.go b/commands/commandeer.go
|
||
|
index 75d69b251..3939d3bd0 100644
|
||
|
--- a/commands/commandeer.go
|
||
|
+++ b/commands/commandeer.go
|
||
|
@@ -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{
|
||
|
diff --git a/go.mod b/go.mod
|
||
|
index d60deb020..ce5a4e04a 100644
|
||
|
--- a/go.mod
|
||
|
+++ b/go.mod
|
||
|
@@ -8,7 +8,7 @@ require (
|
||
|
github.com/alecthomas/assert v0.0.0-20170929043011-405dbfeb8e38
|
||
|
github.com/alecthomas/chroma v0.6.2
|
||
|
github.com/alecthomas/repr v0.0.0-20181024024818-d37bc2a10ba1 // indirect
|
||
|
- github.com/bep/debounce v1.1.0
|
||
|
+ github.com/bep/debounce v1.2.0
|
||
|
github.com/bep/gitmap v1.0.0
|
||
|
github.com/bep/go-tocss v0.6.0
|
||
|
github.com/chaseadamsio/goorgeous v1.1.0
|
||
|
diff --git a/go.sum b/go.sum
|
||
|
index a692cf7f5..e2cf53c75 100644
|
||
|
--- a/go.sum
|
||
|
+++ b/go.sum
|
||
|
@@ -18,8 +18,8 @@ github.com/alecthomas/repr v0.0.0-20180818092828-117648cd9897/go.mod h1:xTS7Pm1p
|
||
|
github.com/alecthomas/repr v0.0.0-20181024024818-d37bc2a10ba1 h1:GDQdwm/gAcJcLAKQQZGOJ4knlw+7rfEQQcmwTbt4p5E=
|
||
|
github.com/alecthomas/repr v0.0.0-20181024024818-d37bc2a10ba1/go.mod h1:xTS7Pm1pD1mvyM075QCDSRqH6qRLXylzS24ZTpRiSzQ=
|
||
|
github.com/armon/consul-api v0.0.0-20180202201655-eb2c6b5be1b6/go.mod h1:grANhF5doyWs3UAsr3K4I6qtAmlQcZDesFNEHPZAzj8=
|
||
|
-github.com/bep/debounce v1.1.0 h1:6ocXeW2iZ/7vAzgXz82J00tYxncMiEEBExPftTtOQzk=
|
||
|
-github.com/bep/debounce v1.1.0/go.mod h1:H8yggRPQKLUhUoqrJC1bO2xNya7vanpDl7xR3ISbCJ0=
|
||
|
+github.com/bep/debounce v1.2.0 h1:wXds8Kq8qRfwAOpAxHrJDbCXgC5aHSzgQb/0gKsHQqo=
|
||
|
+github.com/bep/debounce v1.2.0/go.mod h1:H8yggRPQKLUhUoqrJC1bO2xNya7vanpDl7xR3ISbCJ0=
|
||
|
github.com/bep/gitmap v1.0.0 h1:cTTZwq7vpGuhwefKCBDV9UrHnZAPVJTvoWobimrqkUc=
|
||
|
github.com/bep/gitmap v1.0.0/go.mod h1:g9VRETxFUXNWzMiuxOwcudo6DfZkW9jOsOW0Ft4kYaY=
|
||
|
github.com/bep/go-tocss v0.6.0 h1:lJf+nIjsQDpifUr+NgHi9QMBnrr9cFvMvEBT+uV9Q9E=
|
||
|
@@ -75,7 +75,6 @@ github.com/magefile/mage v1.4.0 h1:RI7B1CgnPAuu2O9lWszwya61RLmfL0KCdo+QyyI/Bhk=
|
||
|
github.com/magefile/mage v1.4.0/go.mod h1:IUDi13rsHje59lecXokTfGX0QIzO45uVPlXnJYsXepA=
|
||
|
github.com/magiconair/properties v1.8.0 h1:LLgXmsheXeRoUOBOjtwPQCWIYqM/LU1ayDtDePerRcY=
|
||
|
github.com/magiconair/properties v1.8.0/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ=
|
||
|
-github.com/markbates/inflect v0.0.0-20171215194931-a12c3aec81a6 h1:LZhVjIISSbj8qLf2qDPP0D8z0uvOWAW5C85ly5mJW6c=
|
||
|
github.com/markbates/inflect v0.0.0-20171215194931-a12c3aec81a6/go.mod h1:oTeZL2KHA7CUX6X+fovmK9OvIOFuqu0TwdQrZjLTh88=
|
||
|
github.com/matryer/try v0.0.0-20161228173917-9ac251b645a2/go.mod h1:0KeJpeMD6o+O4hW7qJOT7vyQPKrWmj26uf5wMc/IiIs=
|
||
|
github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU=
|