temporarily disable config.rb reloading

This commit is contained in:
Thomas Reynolds 2012-03-03 15:58:17 -08:00
parent 06ad7a5c88
commit b191cb8b7e

View file

@ -133,7 +133,7 @@ module Middleman
# @return [void] # @return [void]
def run_on_change(paths) def run_on_change(paths)
# See if the changed file is config.rb or lib/*.rb # 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 # Otherwise forward to Middleman
paths.each do |path| paths.each do |path|
@ -146,7 +146,7 @@ module Middleman
# @return [void] # @return [void]
def run_on_deletion(paths) def run_on_deletion(paths)
# See if the changed file is config.rb or lib/*.rb # 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 # Otherwise forward to Middleman
paths.each do |path| paths.each do |path|