Skip to content

Commit

Permalink
Rename WatchIgnoreFiles to IgnoreFiles
Browse files Browse the repository at this point in the history
Because this isn't just about server and watching.

See gohugoio#1189
  • Loading branch information
bep authored and tychoish committed Aug 13, 2017
1 parent 3b3f567 commit 84345de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/filesystem.go
Expand Up @@ -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)
Expand Down

0 comments on commit 84345de

Please sign in to comment.