From b191cb8b7e899c0822326ba7be20bed785cfbbdc Mon Sep 17 00:00:00 2001 From: Thomas Reynolds Date: Sat, 3 Mar 2012 15:58:17 -0800 Subject: [PATCH] temporarily disable config.rb reloading --- middleman-core/lib/middleman-core/watcher.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/middleman-core/lib/middleman-core/watcher.rb b/middleman-core/lib/middleman-core/watcher.rb index 8e74f981..e84faf99 100644 --- a/middleman-core/lib/middleman-core/watcher.rb +++ b/middleman-core/lib/middleman-core/watcher.rb @@ -133,7 +133,7 @@ module Middleman # @return [void] def run_on_change(paths) # See if the changed file is config.rb or lib/*.rb - return reload if needs_to_reload?(paths) + #return reload if needs_to_reload?(paths) # Otherwise forward to Middleman paths.each do |path| @@ -146,7 +146,7 @@ module Middleman # @return [void] def run_on_deletion(paths) # See if the changed file is config.rb or lib/*.rb - return reload if needs_to_reload?(paths) + #return reload if needs_to_reload?(paths) # Otherwise forward to Middleman paths.each do |path|