I know AppEngine does this, but I'm not coding for it.
I tried using Guard
from Ruby world, to listen on changes on .go
files, and execute the following commands:
killall foo
go build -race
./foo &
But it never sends foo
into background, it just hangs indefinitely.
How are you guys solving this problem? Solution has to be cross-platform too (GNU/Linux and Mac).
A friend wrote a simple Compile Daemon for go, worked like a charm for my own small net/http-projects.
You can find the repository here: https://github.com/githubnemo/CompileDaemon
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With