Closed Aigeruth closed 9 years ago
I'm not sure if I like this solution, did you tested it?
Yes, I tested it and it works for me. I use it for a go-restful project. But I agree on that it is not the most beautiful solution.
As I see, #8 can be related to this PR.
I've updated this PR.
The problem:
guard-go
gets thepid
of thego run
command and not the pid of the running application. It sends theKILL
signal to thego run
process and exits, but the child process remains running.The solution: change the application starting process to
go build
+./binary
.Host: Mac OS X Mavericks
This pull request is based on #10.