Raxol.Dev.CodeReloader (Raxol v2.3.0)

View Source

Watches lib/ for file changes and triggers recompilation + re-render.

Only starts in :dev environment. Uses the file_system library to watch for *.ex changes, debounces rapid edits, then calls IEx.Helpers.recompile/0 and sends :render_needed to the Lifecycle.

Summary

Functions

Returns a specification to start this module under a supervisor.

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

start_link(lifecycle_pid)