Watches Elixir source files, recompiles selected Mix apps, and rerenders live viewports.
The reloader is opt-in and configured entirely through child options.
Summary
Functions
Returns a specification to start this module under a supervisor.
Types
@type start_opt() :: {:dirs, [Path.t()]} | {:reloadable_apps, [atom()]} | {:debounce_ms, non_neg_integer()} | {:watcher, module()} | {:watcher_opts, keyword()} | {:compiler, module()} | {:compiler_opts, keyword()} | {:reloadable_compilers, [atom()]} | {:reloadable_args, [String.t()]} | {:mix_listener, module() | nil} | GenServer.option()
Functions
@spec child_spec([start_opt()]) :: Supervisor.child_spec()
Returns a specification to start this module under a supervisor.
See Supervisor.
@spec start_link([start_opt()]) :: GenServer.on_start()