air
air copied to clipboard
Runtime arguments are not preserved when using `full_bin`
The ability to provide runtime args was implemented in https://github.com/cosmtrek/air/pull/166. It's pretty handy and works really well when using bin
but it gets completely ignored if using full_bin
.
The issue boils down to the fact that if FullBin
is set, it skips updating ArgsBin
with the runtime args. A solution would be to move this block before c.Build.Bin
gets overwritten with c.Build.FullBin
.