From fdc5154462591c839c1d73d30e669928f8da6e32 Mon Sep 17 00:00:00 2001 From: Thomas Reynolds Date: Thu, 2 May 2013 23:01:30 -0700 Subject: [PATCH] scope it, real good --- .../lib/middleman-core/core_extensions/file_watcher.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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