Fix opened browser blocking dx serve (#3818)

This commit is contained in:
wdcocq authored and GitHub committed 2025-03-03 12:53:20 -06:00
1 parent b5381e748c
commit 062ea02e07
1 file changed
+1 -1
+1 -1
View File
@@ -356,7 +356,7 @@ impl AppHandle {
Some(base_path) => format!("/{}", base_path.trim_matches('/')), Some(base_path) => format!("/{}", base_path.trim_matches('/')),
None => "".to_owned(), None => "".to_owned(),
}; };
_ = open::that(format!("{protocol}://{address}{base_path}")); _ = open::that_detached(format!("{protocol}://{address}{base_path}"));
} }
/// Use `xcrun` to install the app to the simulator /// Use `xcrun` to install the app to the simulator