createWatchCompilerHost watch status Diagnostic code success/failure is indiscernible #32542
Labels
API
Relates to the public API for TypeScript
Good First Issue
Well scoped, documented and has the green light
Help Wanted
You can do this
Milestone
TypeScript Version: 3.6.0-dev.20190724
Search Terms:
Compiler API, createWatchCompilerHost, watch Diagnostic
Code
Expected behavior:
The watch status changed
diagnostic.code
would differentiate between a successful build and a build with errors.Actual behavior:
Currently
diagnostic.code
can differentiate between:It looks like this code in
watch.ts
is where the explicterrorCount === 1
check happens.The text was updated successfully, but these errors were encountered: