Skip to content

Angular recompiling stucks on Firefox #2063

Description

@SanderElias

Describe the bug

When making any change in the code, the Angular compilation step gets stuck 80% of the time.
It always work on the first iteration, but recompiling often gets stuck

Link to the blitz that caused the error

https://stackblitz.com/edit/stackblitz-starters-bwrwrh7h?description=An%20angular-cli%20project%20based%20on%20@angular/animations,%20@angular/common,%20@angular/compiler,%20@angular/core,%20@angular/forms,%20@angular/platform-browser,%20@angular/platform-browser-dynamic,%20@angular/router,%20core-js,%20rxjs,%20tslib%20and%20zone.js&file=src%2Fglobal_styles.css,src%2Fmain.ts&template=node&title=Angular%20Starter

Steps to reproduce

change something in the code, for lazy mode, change something in a string, or in the template somewhere.
Watch the recompilation fire off; most often, it stalls on Changes detected. Rebuilding...

Expected behavior

Behave similarly to Chrome. It works fine in Chrome.
If I terminate ng serve and restart it, it works again always the first time, and gets stuck again on recompile.

Parity with Local

Screenshots

No response

Platform

Browser name  = Firefox
Full version  = 148.0
Major version = 148
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (X11; Linux x86_64; rv:148.0) Gecko/20100101 Firefox/148.0
performance.memory = undefined
Hash = 61636aac

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions