We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf47948 commit 5260bbbCopy full SHA for 5260bbb
packages/angular_devkit/build_angular/src/dev-server/index.ts
@@ -423,6 +423,10 @@ function _addLiveReload(
423
if (clientAddress.pathname) {
424
clientAddress.pathname = path.posix.join(clientAddress.pathname, 'sockjs-node');
425
sockjsPath = '&sockPath=' + clientAddress.pathname;
426
+ // ensure webpack-dev-server uses the correct path to connect to the reloading socket
427
+ if (webpackConfig.devServer) {
428
+ webpackConfig.devServer.sockPath = clientAddress.pathname;
429
+ }
430
}
431
432
const entryPoints = [`${webpackDevServerPath}?${url.format(clientAddress)}${sockjsPath}`];
0 commit comments