commit db18fd1582a7f7b1697629219d7a31dc92f829b2
parent 9413cf8499e16c50520edc4392408f16185bd168
Author: Steve Francia <steve.francia@gmail.com>
Date: Tue, 26 Jan 2016 14:10:18 -0500
Ignore .DS_Store changes (thumbnail cache file on mac)
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/commands/hugo.go b/commands/hugo.go
@@ -658,7 +658,7 @@ func NewWatcher(port int) error {
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
}