(state)
| 125332 | state.timerToBuildInvalidatedProject = hostWithWatch.setTimeout(buildNextInvalidatedProject, 250, state); |
| 125333 | } |
| 125334 | function buildNextInvalidatedProject(state) { |
| 125335 | state.timerToBuildInvalidatedProject = undefined; |
| 125336 | if (state.reportFileChangeDetected) { |
| 125337 | state.reportFileChangeDetected = false; |
| 125338 | state.projectErrorsReported.clear(); |
| 125339 | reportWatchStatus(state, ts.Diagnostics.File_change_detected_Starting_incremental_compilation); |
| 125340 | } |
| 125341 | var buildOrder = getBuildOrder(state); |
| 125342 | var invalidatedProject = getNextInvalidatedProject(state, buildOrder, /*reportQueue*/ false); |
| 125343 | if (invalidatedProject) { |
| 125344 | invalidatedProject.done(); |
| 125345 | if (state.projectPendingBuild.size) { |
| 125346 | // Schedule next project for build |
| 125347 | if (state.watch && !state.timerToBuildInvalidatedProject) { |
| 125348 | scheduleBuildInvalidatedProject(state); |
| 125349 | } |
| 125350 | return; |
| 125351 | } |
| 125352 | } |
| 125353 | disableCache(state); |
| 125354 | reportErrorSummary(state, buildOrder); |
| 125355 | } |
| 125356 | function watchConfigFile(state, resolved, resolvedPath, parsed) { |
| 125357 | if (!state.watch || state.allWatchedConfigFiles.has(resolvedPath)) |
| 125358 | return; |
no test coverage detected
searching dependent graphs…