Skip to content

Commit 31086e5

Browse files
clydinKeen Yee Liau
authored and
Keen Yee Liau
committed
revert: fix(@angular-devkit/build-angular): sockPath for custom path
This reverts commit 5260bbb. Fixes #16410 Fixes #16266
1 parent f40fa07 commit 31086e5

File tree

1 file changed

+0
-4
lines changed
  • packages/angular_devkit/build_angular/src/dev-server

1 file changed

+0
-4
lines changed

packages/angular_devkit/build_angular/src/dev-server/index.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -579,10 +579,6 @@ function _addLiveReload(
579579
if (clientAddress.pathname) {
580580
clientAddress.pathname = path.posix.join(clientAddress.pathname, 'sockjs-node');
581581
sockjsPath = '&sockPath=' + clientAddress.pathname;
582-
// ensure webpack-dev-server uses the correct path to connect to the reloading socket
583-
if (webpackConfig.devServer) {
584-
webpackConfig.devServer.sockPath = clientAddress.pathname;
585-
}
586582
}
587583

588584
const entryPoints = [`${webpackDevServerPath}?${url.format(clientAddress)}${sockjsPath}`];

0 commit comments

Comments
 (0)