GriffinSSG.Filesystem.Watcher (Griffin v0.4.2)

View Source

Module for non-named GenServer responsible for watching for changes. Executes a generic callback when file changes are detected. Used for the LiveReload HTTPServer that is launched as part of mix grf.server.

Summary

Functions

Returns a specification to start this module under a supervisor.

Callback implementation for GenServer.init/1.

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

init(arg)

Callback implementation for GenServer.init/1.

start_link(list)