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
18 lines
405 B
TypeScript
18 lines
405 B
TypeScript
import { defineConfig } from 'vite'
|
|
import { svelte } from '@sveltejs/vite-plugin-svelte'
|
|
|
|
export default defineConfig({
|
|
plugins: [svelte()],
|
|
server: {
|
|
port: 9710,
|
|
strictPort: true,
|
|
},
|
|
clearScreen: false,
|
|
test: {
|
|
include: [
|
|
'src/**/*.test.ts',
|
|
'sidecar/**/*.test.ts',
|
|
...(process.env.AGOR_EDITION === 'pro' ? ['tests/commercial/**/*.test.ts'] : []),
|
|
],
|
|
},
|
|
})
|