Merge branch 'dev' into feat/on-new-window-config

This commit is contained in:
Lucas Fernandes Nogueira 2025-10-14 08:35:36 -03:00 committed by GitHub
commit c1969e642e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 1 deletions

View File

@ -0,0 +1,6 @@
---
"tauri-cli": patch:bug
"@tauri-apps/cli": patch:bug
---
Wait for dev server to exit before exiting the CLI when the app is closed on `tauri dev --no-watch`.

View File

@ -215,8 +215,8 @@ impl Interface for Rust {
if options.no_watch {
let (tx, rx) = sync_channel(1);
self.run_dev(options, run_args, move |status, reason| {
on_exit(status, reason);
tx.send(()).unwrap();
on_exit(status, reason)
})?;
rx.recv().unwrap();