Permalink
Browse files

Skip watcher event files if matched in ignoreFiles

  • Loading branch information...
krisbudhram authored and bep committed Oct 15, 2018
1 parent d523aa4 commit f8446188dbec8378f34f0fea39161a49fcc46083
Showing with 3 additions and 0 deletions.
  1. +3 −0 commands/hugo.go
View
@@ -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

0 comments on commit f844618

Please sign in to comment.