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:
=^._.^= 2018-06-14 23:51:03 -07:00 committed by Yangshun Tay
parent 608e2c85a2
commit 62a2c7c1a5
3 changed files with 38 additions and 31 deletions

View file

@ -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`. |
---