From 73fc9cd22dff03ecacf3ae1fb610b96257f56a9a Mon Sep 17 00:00:00 2001 From: Candid Dauth Date: Sat, 17 Apr 2021 18:44:23 +0200 Subject: [PATCH] Use different dev-server port for each module --- client/webpack.config.js | 3 ++- frontend/webpack.config.ts | 3 ++- leaflet/webpack.config.ts | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/client/webpack.config.js b/client/webpack.config.js index a34f071a..3a915dfc 100644 --- a/client/webpack.config.js +++ b/client/webpack.config.js @@ -45,7 +45,8 @@ module.exports = (env, argv) => { devServer: { publicPath: "/dist", disableHostCheck: true, - injectClient: false // https://github.com/webpack/webpack-dev-server/issues/2484 + injectClient: false, // https://github.com/webpack/webpack-dev-server/issues/2484 + port: 8083 } }; }; diff --git a/frontend/webpack.config.ts b/frontend/webpack.config.ts index 6244f23e..c90234b5 100644 --- a/frontend/webpack.config.ts +++ b/frontend/webpack.config.ts @@ -123,7 +123,8 @@ module.exports = (env: any, argv: any): Configuration => { //hotOnly: true, disableHostCheck: true, writeToDisk: true, - injectClient: false // https://github.com/webpack/webpack-dev-server/issues/2484 + injectClient: false, // https://github.com/webpack/webpack-dev-server/issues/2484 + port: 8082 } }; }; \ No newline at end of file diff --git a/leaflet/webpack.config.ts b/leaflet/webpack.config.ts index c4f809c4..66a8fe4c 100644 --- a/leaflet/webpack.config.ts +++ b/leaflet/webpack.config.ts @@ -57,7 +57,8 @@ module.exports = (env: any, argv: any): Configuration[] => { publicPath: "/dist", //hotOnly: true, disableHostCheck: true, - injectClient: false // https://github.com/webpack/webpack-dev-server/issues/2484 + injectClient: false, // https://github.com/webpack/webpack-dev-server/issues/2484 + port: 8081 } };