GriffinSSG. Web. Plug
(Griffin v0.2.0)
View Source
Defines a simple HTTP server with live reload. Spawned from the grf.server task.
Serves the generated static site from the output directory and injects a small
live-reload client script into HTML responses. The client connects to a Bandit
WebSocket (GriffinSSG.Web.LiveReload) that pushes reload events when the
output directory changes.
Summary
Functions
Callback implementation for Plug.call/2.
Callback implementation for Plug.init/1.