Open-source Grok Bot alternative for named AI teammates. Local-first desktop, web, and mobile clients with per-bot tools, instructions, and memory. Independent fork of T3 Code.
fix: don't restart the app on normal exists in dev runner (#986)
Noah Gregorydcd2e5c34fbb
diff --git a/apps/desktop/scripts/dev-electron.mjs b/apps/desktop/scripts/dev-electron.mjsindex cf5dc2669..12d475350 100644--- a/apps/desktop/scripts/dev-electron.mjs+++ b/apps/desktop/scripts/dev-electron.mjs@@ -80,12 +80,13 @@ function startApp() {}});- app.once("exit", () => {+ app.once("exit", (code, signal) => {if (currentApp === app) {currentApp = null;}- if (!shuttingDown && !expectedExits.has(app)) {+ const exitedAbnormally = signal !== null || code !== 0;+ if (!shuttingDown && !expectedExits.has(app) && exitedAbnormally) {scheduleRestart();}});