类: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.】