Skip to content

serve command: double processing in CLI 12 > Browser application bundle generation complete. #20809

Closed
@mlc-mlapis

Description

@mlc-mlapis

🐞 Bug report

  • serve

Is this a regression?

Yes, the previous version in which this bug was not present was: CLI 11.2.13

Description

Each command ng serve or nx run myapp:serve leads to the situation that it looks like double processing:

Build at: 2021-05-15T18:26:37.746Z - Hash: ecbd21f6a2b7772c6755 - Time: 154931ms
Build at: 2021-05-15T18:27:00.757Z - Hash: cf1562cbbca533d796f4 - Time: 10838ms

It's unclear what it means. It seems that the same doesn't happen with an incremental build.

🔥 Exception or Error


✄1�7 Browser application bundle generation complete.

Initial Chunk Files     | Names         |      Size
main.js                 | main          |  41.70 MB
vendor.js               | vendor        |   8.27 MB
polyfills.js            | polyfills     | 584.27 kB
styles.css, styles.js   | styles        | 448.95 kB
scripts.js              | scripts       |  83.67 kB
runtime.js              | runtime       |  11.83 kB

                        | Initial Total |  51.07 MB

Lazy Chunk Files ... 23 lazy-loaded modules

Build at: 2021-05-15T18:26:37.746Z - Hash: ecbd21f6a2b7772c6755 - Time: 154931ms
** Angular Live Development Server is listening on localhost:1111, open your browser on http://localhost:1111/ **
∄1�7 Compiled successfully.

✄1�7 Browser application bundle generation complete.
29 unchanged chunks
Build at: 2021-05-15T18:27:00.757Z - Hash: cf1562cbbca533d796f4 - Time: 10838ms
∄1�7 Compiled successfully.

🌍 Your Environment


Angular CLI: 12.0.0
Node: 12.22.1
Package Manager: npm 6.14.12
OS: win32 x64

Angular: 12.0.0
... animations, cli, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... router

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1200.0
@angular-devkit/build-angular   12.0.0
@angular-devkit/core            12.0.0
@angular-devkit/schematics      12.0.0
@angular/cdk                    11.2.12
@angular/flex-layout            11.0.0-beta.33
@angular/material               11.2.12
@schematics/angular             12.0.0
rxjs                            6.6.3
typescript                      4.2.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs: repro stepsWe cannot reproduce the issue with the information given

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions