hugo

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

git clone git://git.shimmy1996.com/hugo.git
commit b5030782ae5e6cda3aa7a7dd9fb8ffa4f2d16a32
parent 273a68400ff081d05508afbcb6d158711b865307
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Fri,  6 May 2016 20:30:03 +0200

Ignore Byword temp files

Fixes #2126

Diffstat:
Mcommands/hugo.go | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/commands/hugo.go b/commands/hugo.go
@@ -749,11 +749,11 @@ func NewWatcher(port int) error {
 						filepath.Base(ev.Name) == "4913" ||
 						strings.HasPrefix(ext, ".goutputstream") ||
 						strings.HasSuffix(ext, "jb_old___") ||
-						strings.HasSuffix(ext, "jb_bak___")
+						strings.HasSuffix(ext, "jb_bak___") ||
+						strings.HasPrefix(ext, ".sb-")
 					if istemp {
 						continue
 					}
-
 					// Sometimes during rm -rf operations a '"": REMOVE' is triggered. Just ignore these
 					if ev.Name == "" {
 						continue