Package-level declarations

Types

Link copied to clipboard
class LivePreviewEndpoint(origin: File)

Handler of the live preview endpoint (/live/<file>) which serves static files relative to a target file or directory. Additionally, for HTML files, it serves a wrapper HTML that includes a WebSocket script + iframe for live previewing.

Link copied to clipboard

Handler of the reload endpoint (/reload) which manages WebSocket connections for live reloading.