* End watching.
(callback?: () => void)
| 129 | * End watching. |
| 130 | */ |
| 131 | async close(callback?: () => void): Promise<void> { |
| 132 | await this.fsEventsWatchStopper(); |
| 133 | this.removeAllListeners(); |
| 134 | if (typeof callback === 'function') { |
| 135 | process.nextTick(() => callback()); |
| 136 | } |
| 137 | } |
| 138 | |
| 139 | private isFileIncluded(relativePath: string) { |
| 140 | if (this.doIgnore(relativePath)) { |
nothing calls this directly
no test coverage detected