fs.FSWatcher 类


成功调用 fs.watch() 方法将返回新的 fs.FSWatcher 对象。

每当修改指定的被监视文件时,所有 fs.FSWatcher 对象都会触发 'change' 事件。

A successful call to fs.watch() method will return a new fs.FSWatcher object.

All fs.FSWatcher objects emit a 'change' event whenever a specific watched file is modified.