go-watcher
go-watcher copied to clipboard
Windows: Only one usage of each socket address (protocol/network address/port) is normally permitted.
My go app is a http server with go routines. When I run it the first time it's fine
watcher -c config -p 7777 -run /c/Projects/go/src/gitlab.com/jeremyjohn/http-project -watch gitlab.com/jeremyjohn/http-project
It starts two watcher-http-project process up and the main watch process.
But after changes to a .go file i get this error
2019/08/16 23:05:15 build started
Building C:/Projects/go/src/gitlab.com/jeremyjohn/http-project...
2019/08/16 23:05:16 build completed
Running C:/Projects/go/src/gitlab.com/jeremyjohn/http-project...
2019/08/16 23:05:16 listen tcp :7007: bind: Only one usage of each socket address (protocol/network address/port) is normally permitted.