Open fabiospampinato opened 3 years ago
Would love to add watcher to https://github.com/gajus/turbowatch if it supported symlinks.
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
Support both watching symlinks themselves and following them.