mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-29 17:07:22 +00:00
docs: add --no-clear flag in the documentation of development server (#5197)
This commit is contained in:
parent
a0b89d5dfe
commit
a3332d9b19
@ -1,7 +1,7 @@
|
|||||||
# `nuxi dev`
|
# `nuxi dev`
|
||||||
|
|
||||||
```{bash}
|
```{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)
|
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.
|
`rootDir` | `.` | The root directory of the application to serve.
|
||||||
`--clipboard` | `false` | Copy URL to clipboard.
|
`--clipboard` | `false` | Copy URL to clipboard.
|
||||||
`--open, -o` | `false` | Open URL in browser.
|
`--open, -o` | `false` | Open URL in browser.
|
||||||
|
`--no-clear` | `false` | Does not clear the console after startup.
|
||||||
`--port, -p` | `3000` | Port to listen.
|
`--port, -p` | `3000` | Port to listen.
|
||||||
`--host, -h` | `localhost` | Hostname of the server.
|
`--host, -h` | `localhost` | Hostname of the server.
|
||||||
`--https` | `false` | Listen with `https` protocol with a self-signed certificate by default.
|
`--https` | `false` | Listen with `https` protocol with a self-signed certificate by default.
|
||||||
|
Loading…
Reference in New Issue
Block a user