Commit e69b74e
Fix file watcher exhaustion by disabling symlink following (#4625)
* Initial plan
* Fix file watcher exhaustion by adding followSymlinks: false option
When followSymlinks is true (the default), chokidar follows symlinks and
watches their targets. If a symlink points to a directory like the user's
home directory, chokidar would recursively watch that entire directory
structure, causing an explosion in file watchers (250k+).
This change aligns with other file watchers in the codebase (kitsController.ts,
variant.ts, extension.ts) which all use followSymlinks: false.
Co-authored-by: gcampbell-msft <[email protected]>
---------
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: gcampbell-msft <[email protected]>
Co-authored-by: Hannia Valera <[email protected]>1 parent 531bf0a commit e69b74e
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1612 | 1612 | | |
1613 | 1613 | | |
1614 | 1614 | | |
1615 | | - | |
| 1615 | + | |
1616 | 1616 | | |
1617 | 1617 | | |
1618 | 1618 | | |
| |||
0 commit comments