hugo

Unnamed repository; edit this file 'description' to name the repository.

git clone git://git.shimmy1996.com/hugo.git
commit f8446188dbec8378f34f0fea39161a49fcc46083
parent d523aa4bb03e913f55c2f89544e6112e320c975a
Author: Kris Budhram <krisbudhram@users.noreply.github.com>
Date:   Sun, 14 Oct 2018 23:04:52 -0400

Skip watcher event files if matched in ignoreFiles

Diffstat:
Mcommands/hugo.go | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/commands/hugo.go b/commands/hugo.go
@@ -839,6 +839,9 @@ func (c *commandeer) handleEvents(watcher *watcher.Batcher,
 		if istemp {
 			continue
 		}
+		if c.hugo.Deps.SourceSpec.IgnoreFile(ev.Name) {
+			continue
+		}
 		// Sometimes during rm -rf operations a '"": REMOVE' is triggered. Just ignore these
 		if ev.Name == "" {
 			continue