/* src/common/sys/hotswap.rs */
use ;
use Future;
use mpsc;
/// Generic watch loop for hot-reloading configurations.
///
/// # Parameters
/// - `rx`: The receiver channel for filesystem events.
/// - `name`: The display name of the component being watched (e.g., "Application").
/// - `on_reload`: Async closure to execute when a change is detected.
pub async