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

Terminal Notifier #1

Closed
djekl opened this issue Jun 1, 2017 · 1 comment
Closed

Terminal Notifier #1

djekl opened this issue Jun 1, 2017 · 1 comment

Comments

@djekl
Copy link

djekl commented Jun 1, 2017

Hey @LasseHaslev, massive thanks for this, found it from this thread over on Laracasts.

Any chance you can get this to work with terminal-notifier like the old gulp tdd command did?

@LasseHaslev
Copy link
Owner

LasseHaslev commented Jun 19, 2017

Hi @djekl and sorry for delayed answer.

I am glad you liked the package, but I don't think this package should be handling terminal-notifier cause of this package main purpose is not to work as a tdd-only, but to watch for any file changes and execute any command the user want.

Personally i achieved the same result as you asking for on OSX through iTerm2 triggers:
Preferences > Profiles > Advanced > Triggers

One regular expression for OK (.+)$ with a action of Run Command... and a parameter of osascript -e 'display notification "Test successful!" with title "Green!"' and the same approach for ERROR and FAILURES!.

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