From f3fb36b9f5560ed8f070e89f6b2ec6eeee04a534 Mon Sep 17 00:00:00 2001 From: Cameron Pfiffer Date: Sat, 10 Oct 2026 18:02:23 -0700 Subject: [PATCH] The dev server watches only the game, not other agents' worktrees and build output in the checkout, which ran it out of file watchers and broke npm run e2e on a busy machine --- vite.config.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/vite.config.ts b/vite.config.ts index 97855ace..8796512d 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -1,4 +1,9 @@ import { defineConfig } from 'vite'; // Relative base so the build works under any path (the public site serves it at /misaligned/). -export default defineConfig({ base: './' }); +// The dev server watches only the game: other agents' worktrees and build output in the checkout +// (.Codex, .letta, .agents, site) hold enough files to run out of the system's file watchers. +export default defineConfig({ + base: './', + server: { watch: { ignored: ['**/.Codex/**', '**/.letta/**', '**/.agents/**', '**/.claude/**', '**/site/**', '**/reference/**', '**/e2e/results/**'] } }, +}); -- 2.54.0