scope it, real good
This commit is contained in:
parent
a0363210d6
commit
fdc5154462
|
@ -148,7 +148,7 @@ module Middleman
|
|||
# @return [Boolean]
|
||||
def ignored?(path)
|
||||
path = path.to_s
|
||||
config[:file_watcher_ignore].any? { |r| path =~ r }
|
||||
app.config[:file_watcher_ignore].any? { |r| path =~ r }
|
||||
end
|
||||
|
||||
# Notify callbacks for a file given an array of callbacks
|
||||
|
|
Loading…
Reference in a new issue