feat(cli): support custom devServer port

This commit is contained in:
陈嘉涵
2020-01-12 17:03:38 +08:00
parent 64cce6b0bf
commit 96991fd892
2 changed files with 2 additions and 1 deletions

View File

@@ -13,7 +13,7 @@ function watch() {
getPort(
{
port: 8080
port: siteDevConfig.devServer!.port
},
(err, port) => {
if (err) {