https://nodejs.org/api/fs.html#fs_caveats states that fs.watch(filename[, options][, listener])
's recursive option is only available to OS X and Windows.
So, how could it be implemented on Linux?
Use chokidar Found answer in this thread
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With