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.
This commit is contained in:
@@ -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"
|
||||
},
|
||||
|
||||
@@ -14,7 +14,7 @@ export default defineConfig({
|
||||
},
|
||||
clearScreen: false,
|
||||
server: {
|
||||
port: 5173,
|
||||
port: 5174,
|
||||
strictPort: true,
|
||||
host: host || false,
|
||||
hmr: host
|
||||
|
||||
Reference in New Issue
Block a user