githubnemo / CompileDaemon

Very simple compile daemon for Go
BSD 2-Clause "Simplified" License
1.61k stars 153 forks source link

If using -command-stop don't restart on build fail #24

Closed pmaseberg closed 7 years ago

pmaseberg commented 7 years ago

When running a web serivce it is nice to know if the build breaks by stopping the service. The -command-stop seems like it should make this use case work, but it restarted the command regards of the success of the build. This fix does not restart the process if the build failed.

githubnemo commented 7 years ago

That seems reasonable. Thanks!