Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to send INT signal when Guard stops? #877

Open
georgeu2000 opened this issue Oct 5, 2017 · 0 comments
Open

How to send INT signal when Guard stops? #877

georgeu2000 opened this issue Oct 5, 2017 · 0 comments

Comments

@georgeu2000
Copy link

I am using Guard Process, and it does not seem to send the INT signal when I exit Guard with e.

So, I would like to add a stop hook to send the signal "manually". Looked at the Wiki but did not see how to send a signal.

It does however, use the stop_end hook.

guard 'process', name:'Server', command:'ruby server.rb' do
  watch %r{spec/.*}
  watch %r{src/.*}

  callback( :stop_end ){ How to send INT to process? }
end
@georgeu2000 georgeu2000 changed the title How to send INT signal when process stops? How to send INT signal when Guard stops? Oct 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant