RunicViewsHotReload class

Namespace Runic.Application.Views in Runic.Application.Views 0.23.0

public static class RunicViewsHotReload

Refreshes active browser snapshots after an in-process .NET code update.

Remarks

Messages go to the logger of the window session that owns the affected Bridge (events 1100-1102), or to Trace without one. The RUNIC_IDE_CONTRACT_RESTART_REQUIRED line for IDEs is always written to standard error.

Events

RestartRequired

public static event EventHandler<RunicHotReloadRestartEventArgs>? RestartRequired

Raised once when an applied Debug edit changes a generated Bridge contract, so the running frontend no longer matches and the application must restart. The sender is null. The event is static: unsubscribe a handler whose owner ends before the process.