Skip to content

Clear the screen on svelte-check --watch reruns #1025

@thislooksfun

Description

@thislooksfun

Is your feature request related to a problem? Please describe.
I need to run svelte-check to check if there are any errors in my ts code, but every time I save a file it just appends to the output of the previous run. This quickly fills up the terminal and also makes it hard to scan for remaining errors as I first have to figure out where on the screen the most recent run started. In contrast tsc --watch --noEmit (which is essentially the same thing but for .ts files) neatly displays only the most recent run, which means that it's easy to scan for remaining issues.

Describe the solution you'd like
I want svelte-check --watch to clear the screen before performing a run, like tsc --watch does.

Describe alternatives you've considered
N/A

Additional context
N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    FixedFixed in master branch. Pending production release.feature requestNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions