lib/loop_dance/railtie.rb in loop_dance-0.3.1 vs lib/loop_dance/railtie.rb in loop_dance-0.4.0

- old
+ new

@@ -10,10 +10,10 @@ end initializer 'loop_dance.initialize' do self.class.load_dancers # Do not start dancers if rake or other tasks - LoopDance.start_all if server_startup? + LoopDance.restart_all if server_startup? end # FIX: Is there more cute solution? def server_startup?