How can I automatically remove tmp files when stopping Air? #899
Answered
by
Ali127Dev
DaRiaN0Dev
asked this question in
Q&A
-
|
I’m using Air for hot reload in a Go project and it works great during development. However, when I stop the Air process (Ctrl+C), the compiled binary and temporary files inside the tmp directory remain. |
Beta Was this translation helpful? Give feedback.
Answered by
Ali127Dev
May 9, 2026
Replies: 1 comment
-
|
You can enable automatic cleanup by adding the following option to your .air.toml configuration: |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
DaRiaN0Dev
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can enable automatic cleanup by adding the following option to your .air.toml configuration: