diff --git a/packages/cli/src/cli/cfg.rs b/packages/cli/src/cli/cfg.rs index daa8ad713b..aff0573185 100644 --- a/packages/cli/src/cli/cfg.rs +++ b/packages/cli/src/cli/cfg.rs @@ -117,8 +117,14 @@ pub struct ConfigOptsServe { #[clap(long, value_enum)] pub platform: Option, - /// Build with hot reloading rsx. Will not work with release builds. [default: false] - #[clap(long)] + /// Build with hot reloading rsx. Will not work with release builds. [default: true] + #[clap(long)] + #[clap(default_missing_value("true"), + default_value("true"), + num_args(0..=1), + require_equals(true), + action = clap::ArgAction::Set, + )] #[clap(group = "release-incompatible")] #[serde(default)] pub hot_reload: bool,