import_file_if_available("~/.iex.exs")

alias Tilex.{
  Channel,
  Developer,
  Liking,
  Post,
  Repo,
}

import_file_if_available("~/.iex.exs")

alias Tilex.{
  Channel,
  Developer,
  Liking,
  Post,
  Repo,
}

# Allow developer to reload IEx session with `R.reload!`.
defmodule R do
  def reload! do
    Mix.Task.reenable "compile.elixir"
    Application.stop(Mix.Project.config[:app])
    Mix.Task.run "compile.elixir"
    Application.start(Mix.Project.config[:app], :permanent)
  end
end

Allow developer to reload IEx session
Allow developer to reload IEx session

hashrocket/tilex,hashrocket/tilex,hashrocket/tilex