Skip to content

Instantly share code, notes, and snippets.

@chrismccord
Created February 23, 2014 20:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chrismccord/9176717 to your computer and use it in GitHub Desktop.
Save chrismccord/9176717 to your computer and use it in GitHub Desktop.
IExHelpers
# .iex.exs
defmodule IExHelpers do
def reload! do
Mix.Task.reenable "compile.elixir"
Mix.Task.run "compile.elixir"
end
end
iex = IExHelpers
# $ iex -S mix
# iex(2)> iex.reload!
# :noop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment