Permalink
Browse files

use TERM signal. don't stop at HUP signal.

  • Loading branch information...
1 parent fa2b7cc commit 56261929f1060e54fe6fdd429a0c18aa73b68c56 @kamipo kamipo committed Sep 26, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/guard/rrails.rb
View
@@ -26,7 +26,7 @@ def run_on_changes(paths_or_symbol)
end
def stop
- Process.kill('HUP', @pid)
+ Process.kill('TERM', @pid)
@pid = nil
end
end

0 comments on commit 5626192

Please sign in to comment.