Closed kareemmahlees closed 9 months ago
@xiantang could you review the changes made until now
So, this time is it in support of the pre command?
So, this time is it in support of the pre command?
Yes, will work on the post command shortly.
any update?
Sorry for the delay, I updated the tests hoping that they do a little more this time, unfortunately, I can't ensure that the tests are passing because there is a problem with t.tempDir
on Windows specifically 😢
The latest version of GO that I remember has already been fixed. You can try updating your GO version
I already have the latest version ( 1.21 ) installed, Sorry for being not so helpful but I can start working on post cmd if that's okay!
Keep going
sorry for the delay, been busy at work. @xiantang could you check the latest changes?
can let me check
On Wed, Sep 20, 2023 at 12:57 Kareem Ebrahim @.***> wrote:
sorry for the delay, been busy at work. @xiantang https://github.com/xiantang could you check the latest changes?
— Reply to this email directly, view it on GitHub https://github.com/cosmtrek/air/pull/461#issuecomment-1726970253, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIHB3TYDMLYVHOZMZF4SLGLX3JZVDANCNFSM6AAAAAA4DOBUGI . You are receiving this because you were mentioned.Message ID: @.***>
LGTM merged!
thank you!
Hmm, I thought post_cmd would run each time after cmd is restarted... it's surprising to call it post_cmd, should've been before_exit
closes #453
New Features
pre_cmd
is added to.air.toml
post_cmd
is added to.air.tom
New behavior
pre_cmd
will be executed one by one before each buildpost_cmd
will be executed upon exiting (i.e. upon hitting ^C)