9

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?

jpls93
  • 614
  • 1
  • 7
  • 19

1 Answers1

4

Use chokidar Found answer in this thread

Serhii Polishchuk
  • 1,442
  • 17
  • 22