Skip to content

Instantly share code, notes, and snippets.

@chrismccord

chrismccord/.iex.exs

Created Feb 23, 2014
Embed
What would you like to do?
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