Nex.Reloader (nex_core v0.4.3)

Copy Markdown

Hot code reloading for Nex development.

Watches src/ directory for file changes and automatically recompiles. Only enabled in :dev environment - completely disabled in :prod and :test.

Summary

Functions

Returns a specification to start this module under a supervisor.

Check if hot reload is enabled (only in dev environment)

Get the timestamp of the last successful reload

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

enabled?()

Check if hot reload is enabled (only in dev environment)

last_reload_time()

Get the timestamp of the last successful reload

start_link(opts \\ [])