watcher icon indicating copy to clipboard operation
watcher copied to clipboard

Support symlinks

Open fabiospampinato opened this issue 4 years ago • 2 comments

Support both watching symlinks themselves and following them.

fabiospampinato avatar Mar 02 '21 21:03 fabiospampinato

Would love to add watcher to https://github.com/gajus/turbowatch if it supported symlinks.

gajus avatar Mar 20 '23 11:03 gajus

chokidar has a followSymLinks option. Their initial implementation was pretty simple: https://github.com/paulmillr/chokidar/commit/284148bb3d118ee31241d167fa41036dcc088b59

It looks like this is the current implementation, which is about the same level of complexity if this is all of it: https://github.com/paulmillr/chokidar/blob/7c50e25d10a497ce4409f6e52eb630f0d7647b97/lib/nodefs-handler.js#L414

benmccann avatar May 16 '24 20:05 benmccann