From e2e065853052c26b3121ea413a9db7145be3512d Mon Sep 17 00:00:00 2001 From: Bandhan Majumder <133476557+bandhan-majumder@users.noreply.github.com> Date: Mon, 13 Jan 2025 21:49:57 +0530 Subject: [PATCH] docs: added more description about connecting UI with right mode. (#7119) --- docs/guide/ui.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/guide/ui.md b/docs/guide/ui.md index 156588dea..3219a7b9b 100644 --- a/docs/guide/ui.md +++ b/docs/guide/ui.md @@ -18,6 +18,10 @@ vitest --ui Then you can visit the Vitest UI at `http://localhost:51204/__vitest__/` +::: warning +The UI is interactive and requires a running Vite server, so make sure to run Vitest in `watch` mode (the default). Alternatively, you can generate a static HTML report that looks identical to the Vitest UI by specifying `html` in config's `reporters` option. +::: + Vitest UI Vitest UI -- 2.51.2