air icon indicating copy to clipboard operation
air copied to clipboard

Runtime arguments are not preserved when using `full_bin`

Open cinaglia opened this issue 1 year ago • 0 comments

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.

cinaglia avatar Aug 11 '22 18:08 cinaglia