From 6459877c899ed8c6929bd6ae06a1b5c92fd59ba9 Mon Sep 17 00:00:00 2001 From: Hibryda Date: Wed, 18 Mar 2026 04:20:49 +0100 Subject: [PATCH] fix: change dev port from 9700 to 9710 (avoid BridgeCoach conflict) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Port 9700 was occupied by BridgeCoach Docker container, causing the Tauri debug binary to load the wrong frontend. Changed to 9710: - vite.config.ts: server.port 9700 → 9710 - tauri.conf.json: devUrl localhost:9700 → localhost:9710 - wdio.conf.js: DEV_URL_PORT check updated - Binary rebuilt with new port baked in --- src-tauri/tauri.conf.json | 2 +- tests/e2e/wdio.conf.js | 2 +- vite.config.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 1d37286..251f0ae 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -5,7 +5,7 @@ "identifier": "com.dexterfromlab.agent-orchestrator", "build": { "frontendDist": "../dist", - "devUrl": "http://localhost:9700", + "devUrl": "http://localhost:9710", "beforeDevCommand": "npm run dev", "beforeBuildCommand": "npm run build" }, diff --git a/tests/e2e/wdio.conf.js b/tests/e2e/wdio.conf.js index 7448ca4..a699da7 100644 --- a/tests/e2e/wdio.conf.js +++ b/tests/e2e/wdio.conf.js @@ -115,7 +115,7 @@ export const config = { // CRITICAL: The debug binary has devUrl (localhost:9700) baked in. // If another app (e.g., BridgeCoach) is serving on that port, the Tauri // WebView loads the WRONG frontend. Fail fast if port 9700 is in use. - const DEV_URL_PORT = 9700; + const DEV_URL_PORT = 9710; try { const devPids = execSync(`lsof -ti:${DEV_URL_PORT} 2>/dev/null`, { encoding: 'utf8' }).trim(); if (devPids) { diff --git a/vite.config.ts b/vite.config.ts index d6c5836..f4cd8ca 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -4,7 +4,7 @@ import { svelte } from '@sveltejs/vite-plugin-svelte' export default defineConfig({ plugins: [svelte()], server: { - port: 9700, + port: 9710, strictPort: true, }, clearScreen: false,