You can use the
Recompiles the current Mix application.
This helper only works when IEx is started with a Mix project, for
iex -S mix. Before compiling the code, it will stop the
current application, and start it again afterwards. Stopping
applications are required so processes in the supervision tree won’t
crash when code is upgraded multiple times without going through the
proper hot-code swapping mechanism.
mix.exsor configuration files won’t be picked up by this
helper, only changes to sources. Restarting the shell and Mix is
required in such cases.
If you want to reload a single module, consider using
NOTE: This feature is experimental and may be removed in upcoming