Skip to content

add option to disable clearing terminal #1191

@mikebolt

Description

@mikebolt

Current Behavior

tsdx watch clears the terminal. This is because tsc does this by default without the --preserveWatchOutput CLI flag.

Desired Behavior

tsdx watch could be configured so that it doesn't clear the terminal.

Suggested Solution

Add a CLI option to tsdx watch that passes the --preserveWatchOutput flag to tsc.

Who does this impact? Who is this for?

Myself and all the people who wanted this flag for tsc. microsoft/TypeScript#21295 (comment)

Describe alternatives you've considered

The option can't be specified in tsconfig.json as far as I'm aware.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions