Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)