@angular-devkit/build-webpack 0.1400.0-next.7 → 0.1400.0-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@angular-devkit/build-webpack",
3
- "version": "0.1400.0-next.7",
3
+ "version": "0.1400.0-rc.0",
4
4
  "description": "Webpack Builder for Architect",
5
5
  "experimental": true,
6
6
  "main": "src/index.js",
7
7
  "typings": "src/index.d.ts",
8
8
  "builders": "builders.json",
9
9
  "dependencies": {
10
- "@angular-devkit/architect": "0.1400.0-next.7",
10
+ "@angular-devkit/architect": "0.1400.0-rc.0",
11
11
  "rxjs": "6.6.7"
12
12
  },
13
13
  "peerDependencies": {
@@ -56,8 +56,12 @@ function runWebpackDevServer(config, context, options = {}) {
56
56
  });
57
57
  });
58
58
  const devServer = createWebpackDevServer(webpackCompiler, devServerConfig);
59
- devServer.startCallback(() => {
59
+ devServer.startCallback((err) => {
60
60
  var _a;
61
+ if (err) {
62
+ obs.error(err);
63
+ return;
64
+ }
61
65
  const address = (_a = devServer.server) === null || _a === void 0 ? void 0 : _a.address();
62
66
  if (!address) {
63
67
  obs.error(new Error(`Dev-server address info is not defined.`));