mirror of
https://github.com/zkldi/Tachi.git
synced 2026-09-29 18:37:58 +03:00
feat: poll on windows
This commit is contained in:
+5
-1
@@ -8,4 +8,8 @@ VITE_MIN_CLIENT_ID=""
|
||||
VITE_FLO_CLIENT_ID=""
|
||||
VITE_RULES_READ_TIME=30
|
||||
VITE_IS_LOCAL_DEV=true
|
||||
TACHI_NAME="Tachi Local Dev"
|
||||
TACHI_NAME="Tachi Local Dev"
|
||||
|
||||
# turn this off if you're on linux for actually good performance
|
||||
# this needs to be on for windows because lol lmao
|
||||
FORCE_FS_POLLING="true"
|
||||
@@ -82,6 +82,9 @@ export default defineConfig(() => {
|
||||
server: {
|
||||
port: 3000,
|
||||
host: true,
|
||||
watch: {
|
||||
usePolling: process.env.FORCE_FS_POLLING,
|
||||
}
|
||||
},
|
||||
preview: {
|
||||
port: 3000,
|
||||
|
||||
Reference in New Issue
Block a user