This documentation is also published as Markdown for efficient machine reading: the whole site is indexed at /llms.txt, and every page has a clean Markdown copy under /_llms/. These are generated from the same source and cost far fewer tokens to read than this rendered HTML.

Skip to main content Skip to navigation

LiveReloadExtensions Pennington.Infrastructure

Extensions that wire the live reload WebSocket endpoint into the request pipeline.

Methods

UseLiveReload

#
public static WebApplication UseLiveReload(WebApplication app)

Adds live reload WebSocket support for development. Skipped during static build (see PenningtonCli).

Parameters

app WebApplication

Returns

WebApplication

Pennington.Infrastructure.LiveReloadExtensions

namespace Pennington.Infrastructure;

/// Extensions that wire the live reload WebSocket endpoint into the request pipeline.
public class LiveReloadExtensions
{
    /// Adds live reload WebSocket support for development. Skipped during static build (see PenningtonCli).
    
public static WebApplication UseLiveReload(WebApplication app)
; }