ui: Improve dev by specifying hmr port

This commit is contained in:
nemunaire 2025-01-13 19:02:47 +01:00
parent 32632322d4
commit 28b4e7e529
2 changed files with 12 additions and 0 deletions

View File

@ -2,6 +2,12 @@ import { sveltekit } from '@sveltejs/kit/vite';
/** @type {import('vite').UserConfig} */
const config = {
server: {
hmr: {
port: 10000
}
},
plugins: [sveltekit()]
};

View File

@ -2,6 +2,12 @@ import { sveltekit } from '@sveltejs/kit/vite';
/** @type {import('vite').UserConfig} */
const config = {
server: {
hmr: {
port: 10001
}
},
plugins: [sveltekit()]
};