Current section

Files

Jump to
still lib still compiler supervisor.ex
Raw

lib/still/compiler/supervisor.ex

defmodule Still.Compiler.Supervisor do
@moduledoc false
use Supervisor
alias Still.Compiler
def start_link(args) do
Supervisor.start_link(__MODULE__, args, name: __MODULE__)
end
@impl true
def init(_) do
children = [
Compiler.Collections,
Compiler.Incremental.Registry,
Compiler.ErrorCache,
Compiler.CompilationStage
]
Supervisor.init(children, strategy: :one_for_one)
end
end