How do you get air to error out / fail if there is a compilation error? #444
Unanswered
phantomdenkali
asked this question in
Q&A
Replies: 2 comments 1 reply
-
You can use https://github.com/cosmtrek/air/blob/master/air_example.toml#L44 |
Beta Was this translation helpful? Give feedback.
1 reply
-
See comments for more. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've been using air in my development. Seems to work well, however, I have found a few times when there is a compliation/build error in the code, air just continues on and runs the last version of the binary somehow? I have to stop air, run go run main.go to find/fix the error and then run air again. Of course, sometimes I don't realize the error and go through my manual testing workflow to find puzzling results since the code doesn't match the runtime
Not sure if I am missing something obvious in my workflow? I use VSCode as my IDE btw
Beta Was this translation helpful? Give feedback.
All reactions