I have been using Go/Golang for a while. Every time I need to compile code I simply type go run *.go
into Git bash. When I needed to terminate I used CTRL+C
. And if I need to compile again I would use the same command go run *.go
. Recently for some reason when I press CTRL+C
it shows as if it terminated,but when I write again go run *.go
it complains by saying Only one usage of each socket address (protocol/network address/port) is normally permitted.
. And I open task manager and see on main.exe
is on background processes. I end by hand and call this again it works. How can fix that so it terminates as before when I click on CTRL+C
?