Current section
Files
Jump to
Current section
Files
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