Skip to content

Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.

fix(dev): stop the Vite watcher from dying on ENOSPC by ignoring nested .claude/worktrees checkouts

nirholas577c786c02f1
diff --git a/vite.config.js b/vite.config.js
index b92d51d0b..741d054f7 100644
--- a/vite.config.js
+++ b/vite.config.js
@@ -280,6 +280,14 @@ const appConfig = {
// Bind to 0.0.0.0 so the Codespace port-forwarder can reach the server.
host: true,
...(HMR === undefined ? {} : { hmr: HMR }),
+ // Agent worktrees are full checkouts nested at .claude/worktrees/ (a
+ // dozen of them is ordinary here, roughly 250,000 files). None of them is
+ // part of this app's module graph, but Vite's default watcher only skips
+ // node_modules and .git, so it tried to watch every one, spent the user's
+ // whole inotify budget, and died at boot with "ENOSPC: System limit for
+ // number of file watchers reached". This list is merged with Vite's own
+ // defaults, not a replacement for them.
+ watch: { ignored: ['**/.claude/worktrees/**'] },
proxy: {
'/r2-proxy': {
target: 'https://pub-2534e921bf9c4314addcd4d8a6e98b7b.r2.dev',