'error' 事件


在监视文件时发生错误时触发。 出错的 fs.FSWatcher 对象在事件句柄中不再可用。

Emitted when an error occurs while watching the file. The errored fs.FSWatcher object is no longer usable in the event handler.