Node.JS FS.Watch Example

Node js fs.watch method is used to monitor a file change event such as write data to file, delete data from file. This example will show you how to use it to implement a data server that can monitor server side file data change and send changed data back to client browser.