You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by su...@apache.org on 2019/12/22 20:53:44 UTC
[incubator-echarts-doc] 02/04: enhance: tweak dev on readme.
This is an automated email from the ASF dual-hosted git repository.
sushuang pushed a commit to branch release
in repository https://gitbox.apache.org/repos/asf/incubator-echarts-doc.git
commit 9af8f09734d09e3254258fdf53740560565dd2e0
Author: 100pah <su...@gmail.com>
AuthorDate: Thu Dec 19 18:15:32 2019 +0800
enhance: tweak dev on readme.
---
README.md | 15 +++++++++++++--
1 file changed, 13 insertions(+), 2 deletions(-)
diff --git a/README.md b/README.md
index 344e326..852051d 100644
--- a/README.md
+++ b/README.md
@@ -13,18 +13,29 @@
## Build and Run Locally
-#### Start developing environment:
+#### Start developing environment (one way):
```shell
npm run dev
```
-
It will:
+ Start a static server
+ Watch doc site src change and rebuild.
+ Watch doc markdown change and rebuild.
+#### Start developing environment (another way):
+
+```shell
+npm run watch
+# It will not start a web server.
+```
+It will:
+
++ Only watch doc site src change and rebuild.
+
+The entry site will be in "/public/en/" and "/public/zh/".
+
#### Build doc markdown:
```shell
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org