CompileDaemon
CompileDaemon copied to clipboard
Beep on build error option
CompileDaemon is great. Thank you.
It could use an additional feature to beep if a build breaks. I'm using it while building a web app. I usually have it running on some terminal in the background and I never get to know if there is an error. I reload the web pages but go through the user steps, discover that the code has had no effect, and only then maybe check if the build had failed or not. So much time lost. It would really help to have a configurable beep to alert me when the build fails.
There is a pull request for an -on-error *xxx*
option. If that is added then -on-error "tput bel"
does exactly this, at least on unix like machines.
thank you. I shall try that out. Another question is how to automatically kick off go test via the same process.
Can't you use -build "go test"
? AFAIK go test
invokes go build
.
This has the effect that building or test failures invoke the -on-error
command added by @jimstudt.