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: {
|
||||
// Ignore some paths
|
||||
ignored: [],
|
||||
// support WSL strange things
|
||||
usePolling: !!process.env.WSL_DISTRO_NAME
|
||||
// support polling and WSL
|
||||
usePolling: !!(process.env.USE_POLLING ?? process.env.WSL_DISTRO_NAME)
|
||||
}
|
||||
}
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user