CompileDaemon icon indicating copy to clipboard operation
CompileDaemon copied to clipboard

Beep on build error option

Open sathishvj opened this issue 10 years ago • 3 comments

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.

sathishvj avatar Dec 23 '14 12:12 sathishvj

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.

jimstudt avatar Dec 23 '14 15:12 jimstudt

thank you. I shall try that out. Another question is how to automatically kick off go test via the same process.

sathishvj avatar Dec 24 '14 08:12 sathishvj

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.

githubnemo avatar Feb 15 '15 01:02 githubnemo