Skip to content

Commit 9fb8a25

Browse files
committed
add link to chokidar github issue
1 parent 990409d commit 9fb8a25

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/react-router-dev/config/config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1180,7 +1180,8 @@ export function isIgnoredByWatcher(
11801180
}
11811181

11821182
// Filter out non-regular files (sockets, pipes, etc.) that
1183-
// crash fs.watch() on macOS with errno -102
1183+
// crash `fs.watch()` on macOS with errno -102
1184+
// https://github.com/paulmillr/chokidar/issues/1391
11841185
try {
11851186
let stat = fs.statSync(path, { throwIfNoEntry: false });
11861187
if (stat && !stat.isFile() && !stat.isDirectory()) {

0 commit comments

Comments
 (0)