Skip to content

Commit

Permalink
fix possible edge case when startup fails?
Browse files Browse the repository at this point in the history
  • Loading branch information
e2 committed Apr 22, 2016
1 parent 14e6c00 commit 5fbee98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/listen/listener.rb
Expand Up @@ -63,7 +63,7 @@ def initialize(*dirs, &block)

state :initializing, to: :backend_started

state :backend_started, to: [:frontend_ready] do
state :backend_started, to: [:frontend_ready, :stopped] do
backend.start
end

Expand Down

0 comments on commit 5fbee98

Please sign in to comment.