ref: db18fd1582a7f7b1697629219d7a31dc92f829b2
parent: 9413cf8499e16c50520edc4392408f16185bd168
author: Steve Francia <[email protected]>
date: Tue Jan 26 09:10:18 EST 2016
Ignore .DS_Store changes (thumbnail cache file on mac)
--- a/commands/hugo.go
+++ b/commands/hugo.go
@@ -658,7 +658,7 @@
for _, ev := range evs {
ext := filepath.Ext(ev.Name)
- istemp := strings.HasSuffix(ext, "~") || (ext == ".swp") || (ext == ".swx") || (ext == ".tmp") || strings.HasPrefix(ext, ".goutputstream") || strings.HasSuffix(ext, "jb_old___") || strings.HasSuffix(ext, "jb_bak___")
+ istemp := strings.HasSuffix(ext, "~") || (ext == ".swp") || (ext == ".swx") || (ext == ".tmp") || strings.HasPrefix(ext, ".goutputstream") || strings.HasSuffix(ext, "jb_old___") || strings.HasSuffix(ext, "jb_bak___") || (ext == ".DS_Store")
if istemp {
continue
}