feat(build): add 'watch' option (#1332)

This commit is contained in:
ziga
2018-05-21 07:46:15 -07:00
committed by Evan You
parent 3a913a9ac7
commit 6ea17c9f04
2 changed files with 8 additions and 2 deletions
+1
View File
@@ -104,6 +104,7 @@ Options:
--dest specify output directory (default: dist)
--target app | lib | wc | wc-async (default: app)
--name name for lib or web-component mode (default: "name" in package.json or entry filename)
--watch watch for changes
```
`vue-cli-service build` produces a production-ready bundle in the `dist/` directory, with minification for JS/CSS/HTML and auto vendor chunk splitting for better caching. The chunk manifest is inlined into the HTML.