Live-reload fanout: SSE connections register here; the watcher broadcasts after every rebuild. A duplicate-key Registry is the whole pubsub.
Summary
Functions
Notifies every subscribed connection that the site was rebuilt.
The registry child spec name.
Registers the calling process for reload notifications.
Functions
@spec broadcast() :: :ok
Notifies every subscribed connection that the site was rebuilt.
@spec registry() :: module()
The registry child spec name.
@spec subscribe() :: :ok
Registers the calling process for reload notifications.