You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey there, I'm currently writing an app where I want to be able to shut it down from within the UI, i.e. my program exits at some point using os.Exit(0). I use air for development and while the program actually exits, air keeps running idle. So what I actually want is air to exit when the program exits. Is that even possible with air?
When the program exits air logs Process Exit with Code 0 and does not restart it. However, air is still running. I need to kill it manually using Ctrl+C.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hey there, I'm currently writing an app where I want to be able to shut it down from within the UI, i.e. my program exits at some point using
os.Exit(0)
. I use air for development and while the program actually exits, air keeps running idle. So what I actually want is air to exit when the program exits. Is that even possible with air?My current config:
When the program exits air logs
Process Exit with Code 0
and does not restart it. However, air is still running. I need to kill it manually using Ctrl+C.KIndly
bliepp
Beta Was this translation helpful? Give feedback.
All reactions