'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.