enables ability to turn off hot reloading (#2351)
This commit is contained in:
1 parent
2ce6d67fcd
commit
1ec6819ac8
1 file changed
+7
-1
@@ -117,8 +117,14 @@ pub struct ConfigOptsServe {
|
|||||||
#[clap(long, value_enum)]
|
#[clap(long, value_enum)]
|
||||||
pub platform: Option<Platform>,
|
pub platform: Option<Platform>,
|
||||||
|
|
||||||
/// Build with hot reloading rsx. Will not work with release builds. [default: false]
|
/// Build with hot reloading rsx. Will not work with release builds. [default: true]
|
||||||
#[clap(long)]
|
#[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")]
|
#[clap(group = "release-incompatible")]
|
||||||
#[serde(default)]
|
#[serde(default)]
|
||||||
pub hot_reload: bool,
|
pub hot_reload: bool,
|
||||||
|
|||||||
Reference in new issue
Block a user