diff --git a/client/example/.env b/client/example/.env index 66f0f4788..bb5b1eebb 100644 --- a/client/example/.env +++ b/client/example/.env @@ -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" \ No newline at end of file +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" \ No newline at end of file diff --git a/client/vite.config.js b/client/vite.config.js index 2c3810e63..2d609824a 100644 --- a/client/vite.config.js +++ b/client/vite.config.js @@ -82,6 +82,9 @@ export default defineConfig(() => { server: { port: 3000, host: true, + watch: { + usePolling: process.env.FORCE_FS_POLLING, + } }, preview: { port: 3000,