Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/vitest-dev/vitest. Next generation testing framework powered by Vite. vitest.dev
test testing-tools vite
Something went wrong. Try again.
Markdown
title: watch | Config outline: deep #
watch {#watch} #
- Type:
boolean - Default:
!process.env.CI && process.stdin.isTTY, andfalsewhen Vitest detects an AI coding agent - CLI:
-w,--watch,--watch=false
Enable watch mode
In interactive environments, this is the default, unless --run is specified explicitly.
In CI, or when run from a non-interactive shell, "watch" mode is not the default, but can be enabled explicitly with this flag.