Skip to content

Conversation

@fr3shw3b
Copy link
Contributor

Adds an api improvement to compiler watch functionality that allows distinguishing between 0 and 2 or more errors in a watch status reporter.

Fixes #32542

Have spent some time trying to gauge how to unit test the change for the watch api but couldn't find a clear and obvious place to put it.

@msftclas
Copy link

msftclas commented Aug 26, 2019

CLA assistant check
All CLA requirements met.

@sheetalkamat sheetalkamat merged commit 5d36aab into microsoft:master Aug 27, 2019
@dsherret
Copy link
Contributor

@fr3shw3b quick question—in what scenario will errorCount be undefined?

timsuchanek pushed a commit to timsuchanek/TypeScript that referenced this pull request Sep 11, 2019
…icrosoft#33082)

* Added errorCount to WatchStatusReporter discern between 0 and 2 or more errors

* Added test for ensuring WatchStatusReporter receives errorCount
@microsoft microsoft locked as resolved and limited conversation to collaborators Oct 21, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

createWatchCompilerHost watch status Diagnostic code success/failure is indiscernible

4 participants