In the command and I think the build although haven't tested If you have a space in the option it will fail to run. ``` CompileDaemon --build="go build -o program main.go " --command="./program --option=\"1 2\"" ``` Seems to split on spaces which is not always correct.
Activity
githubnemo commentedon Feb 7, 2021
That's true. I don't think CompileDaemon will ever cover this. Write your command to a shell script instead and invoke that instead. For example:
command.sh:
run: