Skip to content

Commit

Permalink
fix: do not follow symlinks in chokidar
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed Apr 28, 2021
1 parent 50829d3 commit ef98d40
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/paths-cache.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
})
Expand Down

0 comments on commit ef98d40

Please sign in to comment.