Skip to main content

euv_cli/hot/
enum.rs

1use super::*;
2
3/// Classification of live hot-reload events broadcast over SSE (`/__euv_hmr`).
4#[derive(Clone, Copy, Debug, Deserialize, Eq, PartialEq, Serialize)]
5pub enum HmrEventKind {
6    /// Static docs or Web bundle rebuilt; browser clients should hot-reload.
7    Reload,
8    /// Dynamic WASM OTA binary updated; native and web clients may fetch `/__euv_ota/module.wasm`.
9    OtaUpdate,
10    /// Incremental rebuild reported a compilation or Markdown error.
11    BuildError,
12}