Say I'm writing a new module, the code isn't ready yet and I want to test something in the repl.
I run iex -S mix and it fails because of compilation errors I didn't intend to fix yet.
I presume there is a last compiled version of my app that I could run with iex.
How do I do that?
mix is a shortcut to mix run. If you invoke mix help run, you will see there are many options there, including a --no-compile one. Therefore:
iex -S mix run --no-compile
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With