We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf9a179 commit e61c894Copy full SHA for e61c894
src-tauri/src/utils.rs
@@ -87,8 +87,15 @@ pub fn _setup_sidecars_for_release_builds(
87
) {
88
log::info!("Setting up sidecars");
89
90
- if is_app_updated && _is_port_in_use(daemon_port) {
91
- log::info!("App was just updated and port is still in use, silently waiting for clean up");
+ if _is_port_in_use(daemon_port) {
+ if is_app_updated {
92
+ log::info!(
93
+ "App was just updated and port is still in use, silently waiting for clean up"
94
+ );
95
+ } else {
96
+ log::info!("Port is in use, silently waiting for clean up");
97
+ }
98
+
99
for i in 0..10 {
100
thread::sleep(Duration::from_secs(1));
101
if !_is_port_in_use(daemon_port) {
0 commit comments