Skip to content

Commit

Permalink
revert: fix(@angular-devkit/build-angular): sockPath for custom path
Browse files Browse the repository at this point in the history
This reverts commit e097c56.

Fixes #16410
Fixes #16266
  • Loading branch information
clydin authored and vikerman committed Dec 17, 2019
1 parent fa9565f commit 87de56b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions packages/angular_devkit/build_angular/src/dev-server/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -434,10 +434,6 @@ function _addLiveReload(
if (clientAddress.pathname) {
clientAddress.pathname = path.posix.join(clientAddress.pathname, 'sockjs-node');
sockjsPath = '&sockPath=' + clientAddress.pathname;
// ensure webpack-dev-server uses the correct path to connect to the reloading socket
if (webpackConfig.devServer) {
webpackConfig.devServer.sockPath = clientAddress.pathname;
}
}

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

0 comments on commit 87de56b

Please sign in to comment.