     if mix_started? do
       config = Mix.Project.config
       reenable_tasks(config)
-      stop_apps(config)
+      apps = stop_apps(config)
       Mix.Task.run("app.start")
+      {:restarted, apps}
     else
       IO.puts IEx.color(:eval_error, "Mix is not running. Please start IEx with: iex -S mix")
-      dont_display_result
+      :error
     end
   end
 

  To learn more about IEx as a whole, just type `h(IEx)`.
  """

  require Logger
  import IEx, only: [dont_display_result: 0]

  @doc """

        true ->
          []
      end
    apps |> Enum.reverse |> Enum.each(&Application.stop/1)
    apps
  end

  @doc """
