Expand description
Hot-reload state preservation and coordination
This module handles the hot-reload process, including model snapshotting, state restoration, and error recovery.
Structs§
- HotReload
Context - Tracks hot-reload state and history for debugging
- Reload
Performance Metrics - Performance metrics for hot-reload operations
Enums§
- Reload
Result - Result type for hot-reload attempts with detailed error information
- Theme
Reload Result - 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_reloadthat 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