summaryrefslogtreecommitdiffstats
path: root/commands/hugo.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/hugo.go')
-rw-r--r--commands/hugo.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/commands/hugo.go b/commands/hugo.go
index ffc6f0228..7d2fa9803 100644
--- 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