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 3a38d65 commit e097c56Copy full SHA for e097c56
packages/angular_devkit/build_angular/src/dev-server/index.ts
@@ -434,6 +434,10 @@ function _addLiveReload(
434
if (clientAddress.pathname) {
435
clientAddress.pathname = path.posix.join(clientAddress.pathname, 'sockjs-node');
436
sockjsPath = '&sockPath=' + clientAddress.pathname;
437
+ // ensure webpack-dev-server uses the correct path to connect to the reloading socket
438
+ if (webpackConfig.devServer) {
439
+ webpackConfig.devServer.sockPath = clientAddress.pathname;
440
+ }
441
}
442
443
const entryPoints = [`${webpackDevServerPath}?${url.format(clientAddress)}${sockjsPath}`];
0 commit comments