diff --git a/src/content/docs/en/reference/cli-reference.mdx b/src/content/docs/en/reference/cli-reference.mdx index d141e5a8e1b99..8a9f3748369bd 100644 --- a/src/content/docs/en/reference/cli-reference.mdx +++ b/src/content/docs/en/reference/cli-reference.mdx @@ -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`