vite-plugin-checker icon indicating copy to clipboard operation
vite-plugin-checker copied to clipboard

Clear terminal between outputs

Open dkoujelev opened this issue 4 years ago • 2 comments

Would be nice if the terminal was cleared before outputting new warnings/errors instead of appending them.

image

dkoujelev avatar Sep 29 '21 17:09 dkoujelev

it should be configurable with appending as default, and clearing as an option.

szamanr avatar Jan 28 '22 11:01 szamanr

For now. vite-plugin-checker leverages the default terminal clean behavior of Vite.

  • If scroll to the bottom of the terminal, the tty output will be cleaned by Vite update info which is desired.
  • If not scrolled to the bottom of the terminal, then you will see the full history log output by vite-plugin-checker. vite-plugin-checker should clean the log before code updating by itself. It will be implemented in the future. Now you could scroll the bottom and let Vite clean the log for you in terminal.

fi3ework avatar Jan 28 '22 16:01 fi3ework

Hey i got the clear issue on nuxt i loose the history of what has been wrote by nuxt, and often get a message of one error without any info, if i disable the type check it stops.

https://github.com/fi3ework/vite-plugin-checker/assets/4084527/73d6ac83-376a-4cd2-87fa-4e85b524b9e4

https://github.com/fi3ework/vite-plugin-checker/assets/4084527/e79ff68b-82ae-4459-8b70-0b357f1376b6

Error: CleanShot 2023-06-15 at 01 48 24@2x

Can we have a way to disable this ?

riderx avatar Jun 15 '23 00:06 riderx