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.
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 intofs.watchFile(...)
which (as far as I know) only uses polling.