Skip to content
Open
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions src/content/docs/en/reference/cli-reference.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -206,9 +206,11 @@ Starts a local server to serve the contents of your static directory (`dist/` by

This command allows you to preview your site locally [after building](#astro-build) to catch any errors in your build output before deploying it. It is not designed to be run in production. For help with production hosting, check out our guide on [Deploying an Astro Website](/en/guides/deploy/).

Since Astro 1.5.0, the [Node adapter](/en/guides/integrations-guide/node/) supports `astro preview` for builds generated with on-demand rendering.
The following hotkeys can be used in the terminal where the Astro preview server is running:
- o + enter to open your Astro site in the browser.
- q + enter to quit the preview server.

Can be combined with the [common flags](#common-flags) documented below.
The `astro preview` command can be combined with the [common flags](#common-flags) documented below to further control the preview experience.

## `astro check`

Expand Down