Skip to content

Commit

Permalink
docs: add paragraph about --standalone (#5932)
Browse files Browse the repository at this point in the history
  • Loading branch information
sheremet-va authored Jun 20, 2024
1 parent 3fd15ba commit 51c04e2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/guide/features.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ When you modify your source code or the test files, Vitest smartly searches the

`vitest` starts in `watch mode` **by default in development environment** and `run mode` in CI environment (when `process.env.CI` presents) smartly. You can use `vitest watch` or `vitest run` to explicitly specify the desired mode.

Start Vitest with the `--standalone` flag to keep it running in the background. It won't run any tests until they change. Vitest will not run tests if the source code is changed until the test that imports the source has been run

## Common Web Idioms Out-Of-The-Box

Out-of-the-box ES Module / TypeScript / JSX support / PostCSS
Expand Down

0 comments on commit 51c04e2

Please sign in to comment.