* Watches a file or directory for changes. * Returns an EventEmitter-like object that emits 'change' and 'close' events. * @param {string} path The path to watch * @param {object} [options] Watch options * @param {number} [options.interval] Polling interval in ms (default: 100) * @par
(path, options)
| 573 | * @throws {ERR_METHOD_NOT_IMPLEMENTED} When not overridden by subclass |
| 574 | */ |
| 575 | watch(path, options) { |
| 576 | throw new ERR_METHOD_NOT_IMPLEMENTED('watch'); |
| 577 | } |
| 578 | |
| 579 | /** |
| 580 | * Watches a file or directory for changes (async iterable version). |
no outgoing calls
no test coverage detected