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).
nohup ./foo > /var/log/foo/out.log &
– Excretion