diff --git a/scripts/run-tauri-dev.cjs b/scripts/run-tauri-dev.cjs index f21ac77..38f5df7 100644 --- a/scripts/run-tauri-dev.cjs +++ b/scripts/run-tauri-dev.cjs @@ -108,7 +108,7 @@ async function launchTauri() { stopSpawnedBackend() if (signal) { - process.kill(process.pid, signal) + process.exit(signal === 'SIGINT' || signal === 'SIGTERM' ? 0 : 1) return }