增加端口号配置

This commit is contained in:
dengtongyu committed 2018-12-13 18:30:29 +08:00
1 parent 8e4bb98518
commit fce7310de4
6 files changed
+93 -6

No files matched your search

+1 -1
View File
@@ -69,7 +69,7 @@ exports.run = (paths, command) => {
contentBase: path.join(paths.targetPath, "dist"),
compress: true,
host: 'localhost',
port: 8088,
port: _configJson.port ? _configJson.port : 8088,
hot: true,
//open: true,
stats: {colors: true},