diff --git a/commands/hugo.go b/commands/hugo.go index b85fcf862..7aaa0dde6 100644 --- a/commands/hugo.go +++ b/commands/hugo.go @@ -347,7 +347,7 @@ func NewWatcher(port int) error { for _, ev := range evs { ext := filepath.Ext(ev.Name) - istemp := strings.HasSuffix(ext, "~") || (ext == ".swp") || (ext == ".tmp") || (strings.HasPrefix(ext, ".goutputstream")) + istemp := strings.HasSuffix(ext, "~") || (ext == ".swp") || (ext == ".swx") || (ext == ".tmp") || (strings.HasPrefix(ext, ".goutputstream")) if istemp { continue }