-
Notifications
You must be signed in to change notification settings - Fork 155
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
An option to print a colored message when the command completes #144
Labels
new feature
Requests or requires a new feature
Comments
Suggestion: Instead of bloating watchexec, you could have your own wrapper that you can use. Place this in #!/bin/sh
if ("$@"); then
echo "$(tput setaf 3)Exited successfully$(tput sgr0)"
else
status=$?
echo "$(tput setaf 1)Failed with exit code ${status}$(tput sgr0)"
exit $status
do Then you can use it in front of any other command.
I didn't test this script as I'm on my phone right now, but I think it would work. |
77 tasks
Partial implementation in 1.18.0:
More improvements are likely! |
passcod
added a commit
that referenced
this issue
Nov 27, 2023
passcod
added a commit
that referenced
this issue
Nov 27, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Here's what I do currently:
What I would like to do instead:
Please see a similar issue in another tool for some more motivation and screenshots: commercialhaskell/stack#1109
The text was updated successfully, but these errors were encountered: