summaryrefslogtreecommitdiffstats
path: root/source/filesystem.go
diff options
context:
space:
mode:
authorbep <bjorn.erik.pedersen@gmail.com>2015-06-03 13:45:52 +0200
committerbep <bjorn.erik.pedersen@gmail.com>2015-06-03 13:45:52 +0200
commitbec3f40359f076b966ede15cb967e2f3873a74b4 (patch)
treebd952fca1d42b611dbe896e608271e61d7c088c0 /source/filesystem.go
parentbed227886be3abacb7beb14c40b88139193114de (diff)
Rename WatchIgnoreFiles to IgnoreFiles
Because this isn't just about server and watching. See #1189
Diffstat (limited to 'source/filesystem.go')
-rw-r--r--source/filesystem.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/filesystem.go b/source/filesystem.go
index 4565c7f48..7242d1dfc 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)