mirror of
https://github.com/AgentSeal/codeburn.git
synced 2026-11-28 00:55:49 +00:00
Move desktop dev server to port 5720
The default 5173 collides with parallel CodeBurn worktree sessions sharing one machine. strictPort stays on so a busy port fails loudly instead of silently drifting; VITE_DEV_SERVER_URL follows the same port in the dev script. Note the port does NOT isolate the Electron userData profile — parallel sessions must still run the app one at a time.
This commit is contained in:
parent
28120c313f
commit
810d91169a
2 changed files with 2 additions and 2 deletions
|
|
@ -8,7 +8,7 @@
|
|||
"build:electron": "tsc -p tsconfig.electron.json",
|
||||
"build:renderer": "vite build",
|
||||
"build": "npm run build:electron && npm run build:renderer",
|
||||
"dev": "npm run build:electron && concurrently -k -n vite,electron -c cyan,magenta \"vite\" \"wait-on tcp:127.0.0.1:5173 && cross-env VITE_DEV_SERVER_URL=http://127.0.0.1:5173 electron .\"",
|
||||
"dev": "npm run build:electron && concurrently -k -n vite,electron -c cyan,magenta \"vite\" \"wait-on tcp:127.0.0.1:5720 && cross-env VITE_DEV_SERVER_URL=http://127.0.0.1:5720 electron .\"",
|
||||
"test": "vitest run",
|
||||
"typecheck": "tsc --noEmit -p tsconfig.json",
|
||||
"stage-cli": "npm --prefix .. run build:cli && node scripts/stage-cli.mjs",
|
||||
|
|
|
|||
|
|
@ -45,6 +45,6 @@ export default defineConfig({
|
|||
__BUILD_SHA__: JSON.stringify(stamp.sha),
|
||||
__BUILD_DATE__: JSON.stringify(stamp.date),
|
||||
},
|
||||
server: { host: '127.0.0.1', port: 5173, strictPort: true },
|
||||
server: { host: '127.0.0.1', port: 5720, strictPort: true },
|
||||
build: { outDir: '../dist/renderer', emptyOutDir: true },
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue