IEx.Helpers.recompile

You're seeing just the function recompile, go back to IEx.Helpers module for more information.
Link to this function

recompile(options \\ [])

View Source

Recompiles the current Mix application.

This helper only works when IEx is started with a Mix project, for example, iex -S mix. Note this function simply recompiles Elixir modules, without reloading configuration and without restarting applications.

Therefore, any long running process may crash on recompilation, as changed modules will be temporarily removed and recompiled, without going through the proper code change callback.

If you want to reload a single module, consider using r(ModuleName) instead.

This function is meant to be used for development and debugging purposes. Do not depend on it in production code.

Options

  • :force - when true, forces the application to recompile