When developing a typescript project, I run the compiler in view mode:
tsc --watch
However, when an error occurs, it is difficult for me to recognize the output, since I have simple formatted text:

Often I don’t even read it, as there are several exits from previous runs.
I am currently trying to alleviate my pain by using grepping for errors to mark this line in red:
tsc -w | egrep --color '.*error.*|$'
feels hacked for now. Is there an easier way to get errors printed beautifully in typescript?
source
share