(message: string)
| 97 | decline(): void {} |
| 98 | |
| 99 | invalidate(message: string): void { |
| 100 | const firstInvalidatedBy = |
| 101 | this.hmrClient.currentFirstInvalidatedBy ?? this.ownerPath |
| 102 | this.hmrClient.notifyListeners('vite:invalidate', { |
| 103 | path: this.ownerPath, |
| 104 | message, |
| 105 | firstInvalidatedBy, |
| 106 | }) |
| 107 | this.send('vite:invalidate', { |
| 108 | path: this.ownerPath, |
| 109 | message, |
| 110 | firstInvalidatedBy, |
| 111 | }) |
| 112 | this.hmrClient.logger.debug( |
| 113 | `invalidate ${this.ownerPath}${message ? `: ${message}` : ''}`, |
| 114 | ) |
| 115 | } |
| 116 | |
| 117 | on<T extends string>( |
| 118 | event: T, |
nothing calls this directly
no test coverage detected