parcel-plugin-typescript icon indicating copy to clipboard operation
parcel-plugin-typescript copied to clipboard

Clear errors in console after they have been fixed

Open danr opened this issue 8 years ago • 1 comments

I am using parcel as a HMR server using this plugin to see the tscompilers errors in the terminal it is running in. When the errors are resolved the last line is green and says something like Built in 2.12s. However the backlog still contains the old errors which attracts a lot of attention and can be quite confusing.

Is it possible to clear the console before the green success command is emitted? This way outdated errors are not lingering around in the terminal anymore.

Thanks! /Dan

danr avatar Jan 30 '18 09:01 danr

Hey Dan! I'll look into it, a recent PR has been merged in Parcel making this possible and I've been thinking about this feature for a moment.

fathyb avatar Jan 31 '18 09:01 fathyb