From ef98d40f1325dfc9f2108e330aad60387112fbf8 Mon Sep 17 00:00:00 2001 From: Amin Yahyaabadi Date: Wed, 28 Apr 2021 00:38:11 -0500 Subject: [PATCH] fix: do not follow symlinks in chokidar --- lib/paths-cache.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/paths-cache.js b/lib/paths-cache.js index 9a4412d..998c3cf 100644 --- a/lib/paths-cache.js +++ b/lib/paths-cache.js @@ -183,6 +183,7 @@ export default class PathsCache extends EventEmitter { .watch([projectPath, ...ignored], { persistent: true, ignoreInitial: true, // do not run the listeners on the initial scan + followSymlinks: false, interval: 1000, binaryInterval: 1000, })