Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Stop guard within preserved state.

  • Loading branch information...
commit c1f2bb8fc2c38494584c7cc921923721839142db 1 parent 251c74a
@netzpirat netzpirat authored
Showing with 4 additions and 5 deletions.
  1. +4 −5 lib/guard.rb
View
9 lib/guard.rb
@@ -171,12 +171,11 @@ def start(options = {})
def stop
within_preserved_state(false) do
runner.run(:stop)
- end
-
- ::Guard::UI.info 'Bye bye...', :reset => true
+ ::Guard::UI.info 'Bye bye...', :reset => true
- # Unblocks main thread
- listener.stop
+ # Unblocks main thread
+ listener.stop
+ end
end
# Reload Guardfile and all Guard plugins currently enabled.
Please sign in to comment.
Something went wrong with that request. Please try again.