Skip to content

add option to disable clearing terminal #1191

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

Open
mikebolt opened this issue Mar 27, 2025 · 0 comments
Open

add option to disable clearing terminal #1191

mikebolt opened this issue Mar 27, 2025 · 0 comments

Comments

@mikebolt
Copy link

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.

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

No branches or pull requests

1 participant