You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if a huge directory is present in the tree, vinxi dev will crash with
node:internal/fs/watchers:247
const error = new UVException({
^
Error: ENOSPC: System limit for number of file watchers reached, watch 'SOME_FILE_PATH'
I have a huge nix cache inside my project, I'm not sure if vinxi watches every file by default,
or if it's finding stuff that matches inside the cache, the ideal solution for my case, would be to simply not watch this directory,
this also happens in vite by default, but here configuring server.watch.ignored in defineConfig had no effect.
to reproduce this:
clone some example with pnpm create solid
clone a huge repo in the same folder git clone https://github.com/NixOS/nixpkgs
run pnpm dev
The text was updated successfully, but these errors were encountered:
chaoky
changed the title
[bug] file watch crashes on big folders
[bug] can't configure file watch
Apr 29, 2024
if a huge directory is present in the tree,
vinxi dev
will crash withI have a huge nix cache inside my project, I'm not sure if vinxi watches every file by default,
or if it's finding stuff that matches inside the cache, the ideal solution for my case, would be to simply not watch this directory,
this also happens in vite by default, but here configuring
server.watch.ignored
in defineConfig had no effect.to reproduce this:
pnpm create solid
git clone https://github.com/NixOS/nixpkgs
pnpm dev
The text was updated successfully, but these errors were encountered: