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
Symlinks are always watched ignoring matching pattern and followSymlinks option.
Versions (please complete the following information):
Chokidar version 3.3.1
Node version v12.12.0
OS version: MacOS 10.15
To Reproduce:
Create a file named test.aaa
Create a file named test.bbb
Create a symlink to test.bbb named test.ccc
constchokidar=require('chokidar')constwatcher=chokidar.watch('**/*.aaa')constlog=console.log.bind(console)watcher.on('add',path=>log(`File ${path} has been added`)).on('change',path=>log(`File ${path} has been changed`)).on('unlink',path=>log(`File ${path} has been removed`))
Expected behavior
Only test.aaa should be watched, but test.ccc is watched as well.
The backlog is going to start from zero as a preparation for v4 release. v4 would bring massive rewrite to the table and drop most dependencies. All issues are being closed as preparation for v4 release.
In the future, only issues with enough community support would be considered.
Describe the bug
Symlinks are always watched ignoring matching pattern and
followSymlinks
option.Versions (please complete the following information):
To Reproduce:
Create a file named
test.aaa
Create a file named
test.bbb
Create a symlink to
test.bbb
namedtest.ccc
Expected behavior
Only
test.aaa
should be watched, buttest.ccc
is watched as well.Additional context
Project: https://github.com/TheNeuronProject/ef.qt
Related code: https://github.com/TheNeuronProject/ef.qt/blob/master/watcher.js#L113
When project includes symlinks, they are no matter how watched and caused issue on code compiling .
The text was updated successfully, but these errors were encountered: