Skip to content

Commit f15ea14

Browse files
committed
refactor(@angular/build): use new HMR documentation URL for console message
The https://angular.dev/hmr URL is now used in the HMR enabled console message for the development server. The message text has also been shortened as the information is available at the aforementioned documentation location.
1 parent 9eaf344 commit f15ea14

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

packages/angular/build/src/builders/dev-server/vite-server.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -168,10 +168,7 @@ export async function* serveWithVite(
168168
serverOptions.liveReload && serverOptions.hmr && useComponentTemplateHmr;
169169
if (browserOptions.templateUpdates) {
170170
context.logger.warn(
171-
'Component HMR has been enabled.\n' +
172-
'If you encounter application reload issues, you can manually reload the page to bypass HMR and/or disable this feature with the' +
173-
' `--no-hmr` command line option.\n' +
174-
'Please consider reporting any issues you encounter here: https://github.com/angular/angular-cli/issues\n',
171+
'Component HMR has been enabled, see https://angular.dev/hmr for more info.',
175172
);
176173
}
177174

0 commit comments

Comments
 (0)