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