()
| 123716 | // operations (such as saving all modified files in an editor) a chance to complete before we kick |
| 123717 | // off a new compilation. |
| 123718 | function scheduleProgramUpdate() { |
| 123719 | if (!host.setTimeout || !host.clearTimeout) { |
| 123720 | return; |
| 123721 | } |
| 123722 | if (timerToUpdateProgram) { |
| 123723 | host.clearTimeout(timerToUpdateProgram); |
| 123724 | } |
| 123725 | writeLog("Scheduling update"); |
| 123726 | timerToUpdateProgram = host.setTimeout(updateProgramWithWatchStatus, 250); |
| 123727 | } |
| 123728 | function scheduleProgramReload() { |
| 123729 | ts.Debug.assert(!!configFileName); |
| 123730 | reloadLevel = ts.ConfigFileProgramReloadLevel.Full; |
no test coverage detected
searching dependent graphs…