diff --git a/middleman-core/lib/middleman-core/core_extensions/file_watcher.rb b/middleman-core/lib/middleman-core/core_extensions/file_watcher.rb index d7dec64a..7bfd2ea2 100644 --- a/middleman-core/lib/middleman-core/core_extensions/file_watcher.rb +++ b/middleman-core/lib/middleman-core/core_extensions/file_watcher.rb @@ -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