shithub: hugo

Download patch

ref: bec3f40359f076b966ede15cb967e2f3873a74b4
parent: bed227886be3abacb7beb14c40b88139193114de
author: bep <[email protected]>
date: Wed Jun 3 09:45:52 EDT 2015

Rename WatchIgnoreFiles to IgnoreFiles

Because this isn't just about server and watching.

See #1189

--- a/source/filesystem.go
+++ b/source/filesystem.go
@@ -148,7 +148,7 @@
 		return true
 	}
 
-	ignoreFiles := viper.GetStringSlice("WatchIgnoreFiles")
+	ignoreFiles := viper.GetStringSlice("IgnoreFiles")
 	if len(ignoreFiles) > 0 {
 		for _, ignorePattern := range ignoreFiles {
 			match, _ := regexp.MatchString(ignorePattern, filePath)