ui: Improve dev by specifying hmr port
This commit is contained in:
parent
2fdfb71131
commit
ba985874ca
2 changed files with 12 additions and 0 deletions
|
@ -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()]
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Reference in a new issue