diff --git a/lib/guard.rb b/lib/guard.rb index ae6b8fb..5b2e21e 100644 --- a/lib/guard.rb +++ b/lib/guard.rb @@ -24,9 +24,10 @@ module Guard end def start(options = {}) + Interactor.init_signal_traps + setup(options) - Interactor.init_signal_traps Dsl.evaluate_guardfile(options) listener.on_change do |files| diff --git a/lib/guard/interactor.rb b/lib/guard/interactor.rb index 3b65598..1170053 100644 --- a/lib/guard/interactor.rb +++ b/lib/guard/interactor.rb @@ -37,7 +37,7 @@ module Guard stop end else - UI.info "Your system doesn't support INT signal, so Ctrl-C (stop) won't work" + UI.info "Your system doesn't support INT signal, so Ctrl-C (Stop) won't work" end # Reload (Ctrl-Z)