feat: Add manual polling option
Signed-off-by: Florian BOUILLON <f.bouillon@aptatio.com>
This commit is contained in:
parent
8e9feab97b
commit
13221b202a
@ -62,8 +62,8 @@ export default defineConfig({
|
|||||||
watch: {
|
watch: {
|
||||||
// Ignore some paths
|
// Ignore some paths
|
||||||
ignored: [],
|
ignored: [],
|
||||||
// support WSL strange things
|
// support polling and WSL
|
||||||
usePolling: !!process.env.WSL_DISTRO_NAME
|
usePolling: !!(process.env.USE_POLLING ?? process.env.WSL_DISTRO_NAME)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user