1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
//! Shared dev-server primitives for WebUI tooling.
//!
//! See the crate README for the high-level overview. The crate exposes:
//!
//! - [`LiveReload`] / [`livereload::sse_handler`] — Server-Sent Events
//! broadcaster and actix handler for browser auto-reload.
//! - [`watch::spawn_watcher`] — debounced filesystem watcher, retargeted in
//! place with [`watch::WatcherHandle::retarget`].
//! - [`path`] — segment-aware basePath stripping and traversal-safe path
//! resolution.
//! - [`reporter::RebuildReporter`] — terminal UX for rebuild loops
//! (rolling line, timestamps, success/error formatting).
//! - [`worker::spawn_rebuild_worker`] — generic background worker that
//! coalesces watcher ticks, runs a user-supplied rebuild closure,
//! and reports the result.
//! - [`serve::serve_static_file`] — actix-friendly static file
//! responder with basePath-aware routing and HTML livereload
//! injection.
pub use ;
pub use ;
pub use ;
pub use ;
pub use ;