Can't run IO.inspect(args) in the first main(args) line

If this is an escript, you need to rebuild the escript after each change you make.

2 Likes