From a3332d9b19527365eec0517b758d3c5fb06b6d89 Mon Sep 17 00:00:00 2001 From: Mishaa <42717232+SirMishaa@users.noreply.github.com> Date: Mon, 30 May 2022 14:37:41 +0200 Subject: [PATCH] docs: add --no-clear flag in the documentation of development server (#5197) --- docs/content/3.api/5.commands/dev.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/content/3.api/5.commands/dev.md b/docs/content/3.api/5.commands/dev.md index 1efcfcab64..35ea28a1fe 100644 --- a/docs/content/3.api/5.commands/dev.md +++ b/docs/content/3.api/5.commands/dev.md @@ -1,7 +1,7 @@ # `nuxi dev` ```{bash} -npx nuxi dev [rootDir] [--clipboard] [--open, -o] [--port, -p] [--host, -h] [--https] [--ssl-cert] [--ssl-key] +npx nuxi dev [rootDir] [--clipboard] [--open, -o] [--no-clear] [--port, -p] [--host, -h] [--https] [--ssl-cert] [--ssl-key] ``` The `dev` command starts a development server with hot module replacement at [http://localhost:3000](https://localhost:3000) @@ -11,6 +11,7 @@ Option | Default | Description `rootDir` | `.` | The root directory of the application to serve. `--clipboard` | `false` | Copy URL to clipboard. `--open, -o` | `false` | Open URL in browser. +`--no-clear` | `false` | Does not clear the console after startup. `--port, -p` | `3000` | Port to listen. `--host, -h` | `localhost` | Hostname of the server. `--https` | `false` | Listen with `https` protocol with a self-signed certificate by default.