From: bep Date: Wed, 3 Jun 2015 11:45:52 +0000 (+0200) Subject: Rename WatchIgnoreFiles to IgnoreFiles X-Git-Tag: v0.15~359 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=bec3f40359f076b966ede15cb967e2f3873a74b4;p=brevno-suite%2Fhugo Rename WatchIgnoreFiles to IgnoreFiles Because this isn't just about server and watching. See #1189 --- diff --git a/source/filesystem.go b/source/filesystem.go index 4565c7f4..7242d1df 100644 --- 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)