kill the fullstack server before starting another one
This commit is contained in:
1 parent
49be972507
commit
ab79c00cd8
1 file changed
+1
@@ -263,6 +263,7 @@ impl Platform for DesktopPlatform {
|
||||
}
|
||||
|
||||
fn rebuild(&mut self, config: &CrateConfig) -> Result<BuildResult> {
|
||||
self.currently_running_child.0.kill()?;
|
||||
let (child, result) = start_desktop(config, self.skip_assets)?;
|
||||
self.currently_running_child = child;
|
||||
Ok(result)
|
||||
|
||||
Reference in new issue
Block a user