- File watcher thread using notify crate (100ms debounce) - Auto-recompiles .ds files on change with timed output - Poll-based HMR: client fetches /__hmr every 500ms for version - Injects HMR script into compiled HTML before </body> - Error pages rendered with DreamStack styling on compile failure - Version counter shared between watcher and HTTP server via AtomicU64 |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||