@@ -28,6 +28,12 @@ impl Clean {
remove_dir_all(crate_config.crate_dir.join(&out_dir))?;
}
+ let fullstack_out_dir = crate_config.crate_dir.join(".dioxus");
+
+ if fullstack_out_dir.is_dir() {
+ remove_dir_all(fullstack_out_dir)?;
+ }
Ok(())
@@ -223,9 +223,11 @@ fn start_desktop(config: &CrateConfig, skip_assets: bool) -> Result<(RAIIChild,
file.set_extension("exe");
let active = "DIOXUS_ACTIVE";
- let child = RAIIChild(Command::new(file.to_str().unwrap())
- .env(active, "true")
- .spawn()?);
+ let child = RAIIChild(
+ Command::new(file.to_str().unwrap())
+ .env(active, "true")
+ .spawn()?,
+ );
Ok((child, result))
@@ -273,4 +275,4 @@ impl Drop for RAIIChild {
fn drop(&mut self) {
let _ = self.0.kill();
-}
+}