scope it, real good

This commit is contained in:
Thomas Reynolds 2013-05-02 23:01:30 -07:00
parent a0363210d6
commit fdc5154462

View file

@ -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