Skip to content

Commit 87de56b

Browse files
clydinvikerman
authored andcommitted
revert: fix(@angular-devkit/build-angular): sockPath for custom path
This reverts commit e097c56. Fixes #16410 Fixes #16266
1 parent fa9565f commit 87de56b

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
@@ -434,10 +434,6 @@ function _addLiveReload(
434434
if (clientAddress.pathname) {
435435
clientAddress.pathname = path.posix.join(clientAddress.pathname, 'sockjs-node');
436436
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-
}
441437
}
442438

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

0 commit comments

Comments
 (0)