shama / gaze

:crystal_ball: A globbing fs.watch wrapper built from the best parts of other fine watch libs.
MIT License
1.15k stars 168 forks source link

The 'mode' option seems completely irrelevant. #261

Open patricknelson opened 5 years ago

patricknelson commented 5 years ago

I could be wrong, but I noticed that the mode option doesn't seem to be referenced at all within the library. Where is this used? I did some debugging and it looked like (on my Windows 10 machine) every single file being watched was passed into fs.watchFile(...) which (as far as I know) only uses polling.