Skip to content

Beep on build error option #8

Open

Description

@sathishvj

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.

Activity

  1. jimstudt commented on Dec 23, 2014

    @jimstudt
    Contributor

    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.

  2. sathishvj commented on Dec 24, 2014

    @sathishvj
    Author

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

  3. githubnemo commented on Feb 15, 2015

    @githubnemo
    Owner

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions