Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clear terminal between outputs #75

Closed
dkoujelev opened this issue Sep 29, 2021 · 3 comments · Fixed by #209
Closed

Clear terminal between outputs #75

dkoujelev opened this issue Sep 29, 2021 · 3 comments · Fixed by #209
Labels
enhancement New feature or request

Comments

@dkoujelev
Copy link

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

image

@szamanr
Copy link

szamanr commented Jan 28, 2022

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

@fi3ework
Copy link
Owner

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.

@riderx
Copy link

riderx commented Jun 15, 2023

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.

CleanShot.2023-06-15.at.01.45.37.mp4
CleanShot.2023-06-15.at.01.46.27.mp4

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

Can we have a way to disable this ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants