I'm developing a Nest.js app in which I want to set a watcher on a folder in the server. If a file is added to that folder an action is triggered.
How can I do that in Nest.js?
I'm developing a Nest.js app in which I want to set a watcher on a folder in the server. If a file is added to that folder an action is triggered.
How can I do that in Nest.js?
Node.js has built in module for that fs.watch but it has a couple of issues so i would suggest using https://www.npmjs.com/package/chokidar