Merge pull request #1855 from egegungordu/hot-reload-release-conflict

Mark hot-reload flag incompatible with release
This commit is contained in:
ealmloff authored and GitHub committed 2024-01-20 20:30:36 -06:00
commit e91fc5490f
1 file changed
+3 -1
+3 -1
View File
@@ -78,6 +78,7 @@ impl From<ConfigOptsServe> for ConfigOptsBuild {
}
#[derive(Clone, Debug, Default, Deserialize, Parser)]
#[command(group = clap::ArgGroup::new("release-incompatible").multiple(true).conflicts_with("release"))]
pub struct ConfigOptsServe {
/// Port of dev server
#[clap(long)]
@@ -116,8 +117,9 @@ pub struct ConfigOptsServe {
#[clap(long, value_enum)]
pub platform: Option<Platform>,
/// Build with hot reloading rsx [default: false]
/// Build with hot reloading rsx. Will not work with release builds. [default: false]
#[clap(long)]
#[clap(group = "release-incompatible")]
#[serde(default)]
pub hot_reload: bool,