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

Add support for hooks #25

Open
rejeep opened this issue Dec 20, 2013 · 6 comments
Open

Add support for hooks #25

rejeep opened this issue Dec 20, 2013 · 6 comments

Comments

@rejeep
Copy link
Owner

rejeep commented Dec 20, 2013

Possible hooks:

  • Before/after start
  • Before/after stop
  • Before/after restart
  • More...

/cc @magnars I think this should be considered when implementing the "match actions" etc...

@magnars
Copy link

magnars commented Dec 20, 2013

What do you mean with considered?

I just want the ability to set the process status based on the process output, so I can see when my services are ready, when they are down, and when they're throwing exceptions at me. :-)

  • Magnar

Den 20. des. 2013 kl. 20:39 skrev Johan Andersson [email protected]:

Possible hooks:

Before/after start
Before/after stop
Before/after restart
More...
/cc @magnars I think this should be considered when implementing the "match actions" etc...


Reply to this email directly or view it on GitHub.

@rejeep
Copy link
Owner Author

rejeep commented Dec 20, 2013

Well, I was mostly thinking about the API, since that also is a kind of a hook/event.

@ionrock
Copy link

ionrock commented Sep 17, 2014

It would be nice to turn on compilation-minor-mode on a running process. For example if you had a dev server running and an exception was thrown. Having keybindings to navigate the traceback would be nice. Same goes for a test runner that repeats failing tests and watches for file changes and re-runs the tests.

@rejeep
Copy link
Owner Author

rejeep commented Sep 18, 2014

Your comment is not really related to the issue, right?

@ionrock
Copy link

ionrock commented Sep 18, 2014

@rejeep Sorry, I wasn't very clear. Turning on compilation-minor-mode would be a nice target to add to a hook when certain processes start. My comment was just a practical example that I specifically wanted to add via a hook.

@rejeep
Copy link
Owner Author

rejeep commented Sep 19, 2014

@ionrock Ahh, I see.

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

3 participants