Skip to content

Commit

Permalink
docs: update cli section (#358)
Browse files Browse the repository at this point in the history
  • Loading branch information
DerYeger committed Dec 29, 2021
1 parent 3d7d2f3 commit 55b6c58
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/guide/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ See the list of config options in the [Config Reference](../config/)

## Command Line Interface

In a project where Vitest is installed, you can use the `vitest` binary in your npm scripts, or run it directly with `npx vitest`. Here is the default npm scripts in a scaffolded Vite project:
In a project where Vitest is installed, you can use the `vitest` binary in your npm scripts, or run it directly with `npx vitest`. Here are the default npm scripts in a scaffolded Vitest project:

<!-- prettier-ignore -->
```json5
Expand All @@ -59,7 +59,8 @@ In a project where Vitest is installed, you can use the `vitest` binary in your
}
```

You can specify additional CLI options like `--port` or `--https`. For a full list of CLI options, run `npx vite --help` in your project.
To run tests once without watching for file changes, use `vitest run`.
You can specify additional CLI options like `--port` or `--https`. For a full list of CLI options, run `npx vitest --help` in your project.

### CLI Commands

Expand Down

0 comments on commit 55b6c58

Please sign in to comment.