* Tell the watch mode that a module was required. * @param {string} filename Absolute path of the module * @returns {void}
(filename)
| 317 | * @returns {void} |
| 318 | */ |
| 319 | function reportModuleToWatchMode(filename) { |
| 320 | if (shouldReportRequiredModules() && process.send) { |
| 321 | process.send({ 'watch:require': [filename] }); |
| 322 | } |
| 323 | } |
| 324 | |
| 325 | /** |
| 326 | * Tell the watch mode that a module was not found. |