Skip to main content

Module reload

Module reload 

Source
Expand description

Hot-reload state preservation and coordination

This module handles the hot-reload process, including model snapshotting, state restoration, and error recovery.

Structs§

HotReloadContext
Tracks hot-reload state and history for debugging
ReloadPerformanceMetrics
Performance metrics for hot-reload operations

Enums§

ReloadResult
Result type for hot-reload attempts with detailed error information
ThemeReloadResult
Result type for theme hot-reload attempts

Functions§

attempt_hot_reload
Attempts to hot-reload the UI from a new XML source while preserving application state.
attempt_hot_reload_async
Async version of attempt_hot_reload that performs XML parsing asynchronously.
attempt_theme_hot_reload
Attempts to hot-reload the theme from a changed theme.dampen file.
get_theme_dir_from_path
Find the theme directory path from a changed file path
is_theme_file_path
Check if a path is a theme file path