Closed pjebs closed 3 years ago
Just write a shell script and execute it instead:
CompileDaemon -build "bash build.sh"
build.sh:
docker build -t
docker-compose down
docker-compose up
This technique seems to still build go app: go build ...
.
My docker process already does the building
Sorry, I meant to write -build="bash build.sh"
. Edited my original comment.
following your edited advice, I was losing the standard out messages from docker-compose up
.
My workaround was:
CompileDaemon -command "bash build.sh" -build="echo 'building'"
Thanks
Does this work on WIndows? It doesn't seem to work for my colleague?
It would be great if multiple build commands could be run when file changes are detected: