Skip to content

[Wiki] Warn user about HMR limitation with lazy routes #14053

@Toub

Description

@Toub

🐞 Bug report (wiki documentation)

Command (mark with an x)

- [x] serve

Description

This wiki story page explains how to use HMR in your ng-cli application: stories configure hmr

However, it does not work if you use lazy routes! See PatrickJS/angular-hmr#76

PROBLEM: the wiki page should warn the user about this limitation, and provide the link to the issue

🌍 Your Environment


Angular CLI: 7.2.2
Node: 10.15.1
OS: linux x64
Angular: 7.2.0
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router

Package                            Version
------------------------------------------------------------
@angular-devkit/architect          0.12.4
@angular-devkit/build-angular      0.12.4
@angular-devkit/build-ng-packagr   0.12.4
@angular-devkit/build-optimizer    0.12.4
@angular-devkit/build-webpack      0.12.4
@angular-devkit/core               7.2.4
@angular-devkit/schematics         7.2.2
@angular/cdk                       7.2.2
@angular/cli                       7.2.2
@angular/flex-layout               7.0.0-beta.23
@angular/material                  7.2.1
@ngtools/json-schema               1.1.0
@ngtools/webpack                   7.2.4
@schematics/angular                7.2.2
@schematics/update                 0.12.2
ng-packagr                         4.7.1
rxjs                               6.3.3
typescript                         3.2.4
webpack                            4.28.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: docsRelated to the documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions