Recompiling and reloading modules/files in iex
When you are testing code in Elixir and you've made a change to the source file you may want to reload the new code.
iex provides two options of doing it:
By file name:
iex> c "lib/myfile.ex"
iex> r MyModule
r works is it checks where the module is defined and then recompiles all of the code in that file as