-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Closed
Labels
area: @angular-devkit/build-angularfreq1: lowOnly reported by a handful of users who observe it rarelyOnly reported by a handful of users who observe it rarelyseverity3: brokentype: bug/fix
Milestone
Description
π Bug report
Command (mark with an x)
- [ ] new
- [x] build
- [ ] serve
- [ ] test
- [ ] e2e
- [ ] generate
- [ ] add
- [ ] update
- [ ] lint
- [ ] xi18n
- [ ] run
- [ ] config
- [ ] help
- [ ] version
- [ ] doc
Is this a regression?
No.
Description
Zone.js does not support native async/await (angular/zone.js#1140) as present in ES2017. This means code that happens inside async/await blocks is invisible to zone.js thus not triggering change detection.
Since this is a footgun for developer, Angular CLI should show a warning about this when ES2017 is set as the typescript target.
π¬ Minimal Reproduction
π₯ Exception or Error
No error, just no change detection.
π Your Environment
Angular CLI 7.x
Anything else relevant?
HitomiTenshi
Metadata
Metadata
Assignees
Labels
area: @angular-devkit/build-angularfreq1: lowOnly reported by a handful of users who observe it rarelyOnly reported by a handful of users who observe it rarelyseverity3: brokentype: bug/fix