Chokidar | Nodejs Watcher | Watch Folder For Changes | NPM Package | fs.watch() | fs.watchFile()

Описание к видео Chokidar | Nodejs Watcher | Watch Folder For Changes | NPM Package | fs.watch() | fs.watchFile()

What is a watcher ?
A watcher is responsible for Watching a folder/directory/file for any changes.It helps in executing any task at the time of any changes.
Fs.watch is commonly used in node js as a watcher. In Fs watch there's no loop polling for changes.Different operating system have their own event notification system that gets Triggered when any file changes.


Why Chokidar ?
What if you want to watch a folder continuously. Do you sit back in front of your laptop the whole day?
No, that would be very hectic. But the chokidar package helps you meet your requirements. Yes, the Chokidar does the same thing as the name suggests. It sits around and keeps on watching the requested directory for the changes.

Links :

Github Link : https://github.com/itmustbeashu/watcher'

Full Blog :   / chokidar  

Credits:

Music : Another Time
Musician : LiQWYD

Комментарии

Информация по комментариям в разработке