Closed ainsleyclark closed 4 months ago
Having a similar issue, except it happens when u start a program and SIGINT (Ctrl +C) to end it. Doesn't feel like air is killing it's child processes imo.
Might help to enable send_interrupt
in air.toml?
Fantastic thank you @leandergangso, that's got it.
Using
echo
for a HTTP server, when I save a file, it looks like two processes are launched and I get abind:address already in use error
This looks to be the same issue: https://github.com/cosmtrek/air/issues/426
But it was closed, is there a way to solve this? I have tried to set the
kill_delay
to10s
but no avail.Many thanks in advance.
air.toml
Output (Debug)