lib/trestle/engine.rb in trestle-0.8.7 vs lib/trestle/engine.rb in trestle-0.8.8

- old
+ new

@@ -33,10 +33,14 @@ config.to_prepare do Engine.reset_helpers! end config.to_prepare do - Engine.reloader.execute_if_updated + if Trestle.config.reload == :always + Engine.reloader.execute + else + Engine.reloader.execute_if_updated + end end def reloader @reloader ||= Trestle::Reloader.new end