mirror of
https://github.com/rommapp/romm.git
synced 2026-06-28 23:06:11 +00:00
frontend/assets/romm/resources is a symlink into the user's library (covers, screenshots). Vite's root is frontend/, so chokidar follows the symlink and tries to watch every file under it. With a large library (hundreds of thousands of asset files) this exhausts the Node heap and the dev server crashes with "JavaScript heap out of memory". Ignore that tree in server.watch; it holds served assets that never need HMR. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>