mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-10 07:37:19 +02:00
Add option to disable live reload server during development (#766)
* add option to disable live reload server * change live to watch, fix incorrect argument parsing code * Update api-commands.md
This commit is contained in:
parent
608e2c85a2
commit
62a2c7c1a5
3 changed files with 38 additions and 31 deletions
|
@ -145,6 +145,7 @@ This script will build the static website, apply translations if necessary, and
|
|||
| Options | Default | Description |
|
||||
| ----------------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------ |
|
||||
| `--port <number>` | `3000` | The website will be served from port 3000 by default, but if the port is taken up, Docusaurus will attempt to find an available one. |
|
||||
| `--watch` | - | Whether to watch the files and live reload the page when files are changed. Defaults to true. Disable this by using `--no-watch`. |
|
||||
|
||||
---
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue