(child, key = null)
| 172 | } |
| 173 | |
| 174 | watchChildProcessModules(child, key = null) { |
| 175 | if (this.#passthroughIPC) { |
| 176 | this.#setupIPC(child); |
| 177 | } |
| 178 | |
| 179 | child.on('message', (message) => { |
| 180 | try { |
| 181 | if (ArrayIsArray(message['watch:require'])) { |
| 182 | ArrayPrototypeForEach(message['watch:require'], (file) => this.filterFile(file, key)); |
| 183 | } |
| 184 | if (ArrayIsArray(message['watch:import'])) { |
| 185 | ArrayPrototypeForEach(message['watch:import'], (file) => this.filterFile(fileURLToPath(file), key)); |
| 186 | } |
| 187 | } catch { |
| 188 | // Failed watching file. ignore |
| 189 | } |
| 190 | }); |
| 191 | } |
| 192 | unfilterFilesOwnedBy(owners) { |
| 193 | owners.forEach((owner) => { |
| 194 | this.#ownerDependencies.get(owner)?.forEach((dependency) => { |
no test coverage detected