Current section

Files

Jump to
mix_test_interactive lib mix_test_interactive application.ex
Raw

lib/mix_test_interactive/application.ex

defmodule MixTestInteractive.Application do
@moduledoc false
use Application
alias MixTestInteractive.{Config, InteractiveMode, Watcher}
@impl Application
def start(_type, _args) do
config = Config.new()
children = [
{InteractiveMode, config: config},
{Watcher, config: config}
]
opts = [strategy: :one_for_one, name: MixTestInteractive.Supervisor]
Supervisor.start_link(children, opts)
end
end