Still.Web.BrowserSubscriptions (Still v0.8.0) View Source

Acts as a proxy between browser connections and file subscriptions. Whenever a relevant file changes, the browser connections are sent a reload message. Should only run in the dev environment.

Link to this section Summary

Functions

Adds a new browser connection to the subscribers list.

Returns a specification to start this module under a supervisor.

Sends a reload message to the subscriptions.

Link to this section Functions

Adds a new browser connection to the subscribers list.

Returns a specification to start this module under a supervisor.

See Supervisor.

Sends a reload message to the subscriptions.