Skip to content

Commit 60e8ac2

Browse files
committed
refactor(@angular-devkit/build-angular): improve HMR warning
1 parent 24fedb2 commit 60e8ac2

File tree

1 file changed

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

1 file changed

+4
-5
lines changed

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

+4-5
Original file line numberDiff line numberDiff line change
@@ -564,11 +564,10 @@ function _addLiveReload(
564564
const showWarning = options.hmrWarning;
565565
if (showWarning) {
566566
logger.info(tags.stripIndents`
567-
The project will still live reload when HMR is enabled,
568-
but to take advantage of HMR additional application code is required'
569-
(not included in an Angular CLI project by default).'
570-
See ${webpackHmrLink}
571-
for information on working with HMR for Webpack.`);
567+
The project will still live reload when HMR is enabled, but to take full advantage of HMR
568+
additional application code which is not included by default in an Angular CLI project is required.
569+
570+
See ${webpackHmrLink} for information on working with HMR for Webpack.`);
572571
logger.warn(
573572
tags.oneLine`To disable this warning use "hmrWarning: false" under "serve"
574573
options in "angular.json".`,

0 commit comments

Comments
 (0)