diff --git a/packages/fes-preset-built-in/src/plugins/commands/dev/devServer.js b/packages/fes-preset-built-in/src/plugins/commands/dev/devServer.js index 80390fe4..0f2a616d 100644 --- a/packages/fes-preset-built-in/src/plugins/commands/dev/devServer.js +++ b/packages/fes-preset-built-in/src/plugins/commands/dev/devServer.js @@ -18,6 +18,8 @@ export function startDevServer({ contentBase: webpackConfig.output.path, hot: true, host, + sockHost: host, + sockPort: port, proxy, compress: true, noInfo: true, diff --git a/packages/fes-template/.env b/packages/fes-template/.env index 24f1c637..71165f26 100644 --- a/packages/fes-template/.env +++ b/packages/fes-template/.env @@ -1 +1 @@ -FES_APP_PUBLISH_ERROR_PAGE=hello \ No newline at end of file +FES_APP_PUBLISH_ERROR_PAGE=hello diff --git a/yarn.lock b/yarn.lock index c3fa89d7..55736d07 100644 --- a/yarn.lock +++ b/yarn.lock @@ -12906,11 +12906,6 @@ path-to-regexp@0.1.7: resolved "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz#df604178005f522f15eb4490e7247a1bfaa67f8c" integrity sha1-32BBeABfUi8V60SQ5yR6G/qmf4w= -path-to-regexp@^6.2.0: - version "6.2.0" - resolved "https://registry.yarnpkg.com/path-to-regexp/-/path-to-regexp-6.2.0.tgz#f7b3803336104c346889adece614669230645f38" - integrity sha512-f66KywYG6+43afgE/8j/GoiNyygk/bnoCbps++3ErRKsIYkGGupyv07R2Ok5m9i67Iqc+T2g1eAUGUPzWhYTyg== - path-type@^1.0.0: version "1.1.0" resolved "https://registry.npmjs.org/path-type/-/path-type-1.1.0.tgz#59c44f7ee491da704da415da5a4070ba4f8fe441"