From b41c84dab8e73de7c5861e33bdfd52c7c1aef37b Mon Sep 17 00:00:00 2001 From: Aleksey Shakhmatov Date: Wed, 6 May 2026 19:30:54 +0300 Subject: [PATCH] chore: switch dev server to port 5174 Vite default 5173 frequently conflicts with parallel local projects. Move Tusk's vite dev server (and tauri devUrl) to 5174 so it can coexist with another project running on the default port. --- src-tauri/tauri.conf.json | 2 +- vite.config.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index b6fc88e..e7d31b1 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -5,7 +5,7 @@ "identifier": "com.tusk.dbm", "build": { "frontendDist": "../dist", - "devUrl": "http://localhost:5173", + "devUrl": "http://localhost:5174", "beforeDevCommand": "npm run dev", "beforeBuildCommand": "npm run build" }, diff --git a/vite.config.ts b/vite.config.ts index 5b9a3b2..89c3cc5 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -14,7 +14,7 @@ export default defineConfig({ }, clearScreen: false, server: { - port: 5173, + port: 5174, strictPort: true, host: host || false, hmr: host