ui: Improve dev by specifying hmr port
This commit is contained in:
parent
32632322d4
commit
28b4e7e529
@ -2,6 +2,12 @@ import { sveltekit } from '@sveltejs/kit/vite';
|
|||||||
|
|
||||||
/** @type {import('vite').UserConfig} */
|
/** @type {import('vite').UserConfig} */
|
||||||
const config = {
|
const config = {
|
||||||
|
server: {
|
||||||
|
hmr: {
|
||||||
|
port: 10000
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
plugins: [sveltekit()]
|
plugins: [sveltekit()]
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -2,6 +2,12 @@ import { sveltekit } from '@sveltejs/kit/vite';
|
|||||||
|
|
||||||
/** @type {import('vite').UserConfig} */
|
/** @type {import('vite').UserConfig} */
|
||||||
const config = {
|
const config = {
|
||||||
|
server: {
|
||||||
|
hmr: {
|
||||||
|
port: 10001
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
plugins: [sveltekit()]
|
plugins: [sveltekit()]
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user