lib/marvin/abstract_client.rb in Sutto-marvin-0.8.0.0 vs lib/marvin/abstract_client.rb in Sutto-marvin-0.8.0.1
- old
+ new
@@ -55,13 +55,10 @@
def setup_handlers
handlers.each { |h| h.client = self if h.respond_to?(:client=) }
end
def process_development
- if @@development
- Marvin::Reloading.reload!
- setup_handlers
- end
+ Marvin::Reloading.reload! if @@development
end
def dispatch(*args)
process_development
super
\ No newline at end of file