Rename WatchIgnoreFiles to IgnoreFiles - hugo - [fork] hugo port for 9front
HTML git clone git@git.drkhsh.at/hugo.git
DIR Log
DIR Files
DIR Refs
DIR Submodules
DIR README
DIR LICENSE
---
DIR commit bec3f40359f076b966ede15cb967e2f3873a74b4
DIR parent bed227886be3abacb7beb14c40b88139193114de
HTML Author: bep <bjorn.erik.pedersen@gmail.com>
Date: Wed, 3 Jun 2015 13:45:52 +0200
Rename WatchIgnoreFiles to IgnoreFiles
Because this isn't just about server and watching.
See #1189
Diffstat:
M source/filesystem.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git a/source/filesystem.go b/source/filesystem.go
@@ -148,7 +148,7 @@ func isNonProcessablePath(filePath string) bool {
return true
}
- ignoreFiles := viper.GetStringSlice("WatchIgnoreFiles")
+ ignoreFiles := viper.GetStringSlice("IgnoreFiles")
if len(ignoreFiles) > 0 {
for _, ignorePattern := range ignoreFiles {
match, _ := regexp.MatchString(ignorePattern, filePath)