TypeScript · Output Formatting

preserveWatchOutput

Disable wiping the console in watch mode.

Syntax
"preserveWatchOutput": true

Example

Example
{
  "compilerOptions": {
    "preserveWatchOutput": true
  }
}

More in this group

noErrorTruncation pretty

Learn this in the course

Reference pages are the quick answer. The course explains the why, shows the full example and ends with a challenge.

Open the course