air-verse / air

☁️ Live reload for Go apps
GNU General Public License v3.0
17.63k stars 802 forks source link

address already in use #421

Closed herrluk closed 12 months ago

herrluk commented 1 year ago

System Version: macOS 13.3.1 (22E261) Kernel Version: Darwin 22.4.0

When I used air, except for the first time, hot loads always had port occupancy issues

image

This is the port usage using Chrome

image
endigma commented 1 year ago

happening to me too, intermittent

hielfx commented 1 year ago

Hi! Please check https://github.com/cosmtrek/air/issues/216#issuecomment-983550776 and see if those settings solve the problem for you.

Hope it helps!

azmiadhani commented 1 year ago

I use macOS, downgrading air from v1.43.0 to v1.27.0 works for me

yg7001 commented 1 year ago

Hi! Please check #216 (comment) and see if those settings solve the problem for you.

Hope it helps!

delay=1000 and kill_delay="10s" resolve this problem for me (go 1.20.4 on windows)

vincentvella commented 1 year ago

Is there a reason https://github.com/cosmtrek/air/issues/216#issuecomment-1543737187 isn't the default?