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 modeline indicator for running prodigy services? #57

Open
dakrone opened this issue Jul 31, 2014 · 1 comment
Open

add modeline indicator for running prodigy services? #57

dakrone opened this issue Jul 31, 2014 · 1 comment

Comments

@dakrone
Copy link

dakrone commented Jul 31, 2014

I think it'd be really handy to have way to register a service with a lighter that is displayed on the modeline when running, something like:

(prodigy-define-service
  :name "Elasticsearch"
  :lighter "ES"
  :cwd "..."
  :command "..."
  :tags '(...)
  :port ...)

Then, when running, I could have something in the modeline that looks like [] when nothing is running and [ES] when that service is running. Or [ES,Service1,Service2] if more services are running.

@rejeep
Copy link
Owner

rejeep commented Aug 11, 2014

That would be pretty cool yes. It would be even more awesome if you could put color on each service. Green for started and red for stopped.

To extend this even further, prodigy could add a notification API, where the mode line is one way of showing status. Another could be Growl for example.

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

2 participants