类:fs.FSWatcher


¥Class: fs.FSWatcher

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

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

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

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