nodejs / performance

Node.js team focusing on performance
MIT License
377 stars 7 forks source link

Replace `watchFile` usage with native `watch` #26

Open anonrig opened 1 year ago

anonrig commented 1 year ago

internal/fs/recursive_watch.js uses watchFile which depends on polling with 5007ms intervals. Replacing watchFile functionality with FSWatcher from lib/internal/fs/watchers.js would improve the stability of the recursive watch functionality, and will provide better performance.

debadree25 commented 1 year ago

isn't FSWatcher from lib/internal/fs/watchers.js capabilities limited across platforms? if yes how can we get around that?

mertcanaltin commented 7 months ago

hello, I wonder if this place has been built, I saw a tweet recently @anonrig @debadree25