paulmillr / chokidar

Minimal and efficient cross-platform file watching library
https://paulmillr.com
MIT License
10.8k stars 574 forks source link

Not Detecting New Files on External Drive in macOS #1296

Closed alminQSD closed 2 months ago

alminQSD commented 8 months ago

Environment:

Issue: Chokidar fails to detect new files added to external and network drives on macOS. It functions correctly for local paths (e.g., /Users/myUser/Downloads/testFolder) and also works as expected on Windows for both local, network, and external drives. However, on macOS, it does not trigger 'add' events for new files in /Volumes/MyExternalDrive.

Steps to Reproduce:

  1. Set up Chokidar to watch a path on an external or network drive.
  2. Add new files to this path.
  3. Observe that Chokidar does not emit 'add' events on macOS.

Expected Behavior: Chokidar should detect and emit events for new files on external and network drives, similar to its behavior with local directories and as it does on Windows.

Additional Context:

Any insights or suggestions would be greatly appreciated.

mdivkovic-speech commented 6 months ago

Bump. @paulmillr is this on the radar?

paulmillr commented 6 months ago

@mdivkovic-speech no. Why would it be?

paulmillr commented 6 months ago

1305