Wednesday, May 30, 2018

Elixir load module file

During debugging Elixir script, one sometimes wants to edit the script file and reload modules defined inside from an Elixir shell. Issue this command from your Elixir shell: iex> import_file("path/to/script_file.exs") Thanks to this blog post!