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
{{ message }}
This repository was archived by the owner on Sep 1, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Sep 1, 2026. It is now read-only.
7.0.1-rc binary in watch mode fails to resolve symlinks in node_modules #4372
// I have LFS files, unnecessary for the repro
GIT_LFS_SKIP_SMUDGE=1 git clone -b ts7-tsc-migration [email protected]:nikelborm/effect-garden.git
bun i
cd ./packages/effect-web-mediacapture-streams
ll /tmp/tmp.0fjYehfM1P/effect-garden/node_modules/.bun/[email protected]/node_modules/
Octal Permissions Size User Group Name
0755 drwxr-xr-x - nikel : fast-check/
0777 lrwxrwxrwx - nikel : pure-rand -> ../../[email protected]/node_modules/pure-rand/
Fast-check is a dependency of effect, which is also symlinked
The bun max command, which spawns 4 tsc watchers, gives other symlink errors like this one
failed to watch directory /home/nikel/projects/effect-garden/node_modules/.bun/@[email protected]+e40b0dfdd726a224/node_modules/@opentelemetry/api: fanotify_mark on '/home/nikel/projects/effect-garden/node_modules/.bun/@[email protected]+e40b0dfdd726a224/node_modules/@opentelemetry/api' failed: not a directory
failed to watch directory /home/nikel/projects/effect-garden/node_modules/.bun/[email protected]/node_modules/@standard-schema/spec: fanotify_mark on '/home/nikel/projects/effect-garden/node_modules/.bun/[email protected]/node_modules/@standard-schema/spec' failed: not a directory
Our FS treaks symlinks to dirs as dirs, but the fswatch code doesn't. Probably we need to be making sure that any given path is actually a dir before watching it, or just ignoring the request in fswatch since likely we can't actually check via vfs on purpose...
Activity
nikelborm commentedon Jun 19, 2026
The
bun maxcommand, which spawns 4 tsc watchers, gives other symlink errors like this onejakebailey commentedon Jun 19, 2026
Our FS treaks symlinks to dirs as dirs, but the fswatch code doesn't. Probably we need to be making sure that any given path is actually a dir before watching it, or just ignoring the request in fswatch since likely we can't actually check via vfs on purpose...
jakebailey commentedon Jun 19, 2026
If you can, can you build #4376 and see if it works for you?
nikelborm commentedon Jun 19, 2026
I'll try :D
nikelborm commentedon Jun 19, 2026
It no longer throws errors, and changes propagate between packages properly
nikelborm commentedon Jun 19, 2026
Thanks! 🫶