-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Labels
area: @angular/builddevkit/build-angular:dev-serverfreq1: lowOnly reported by a handful of users who observe it rarelyOnly reported by a handful of users who observe it rarelyseverity3: brokentype: bug/fix
Description
Command
serve
Is this a regression?
- Yes, this behavior used to work in the previous version
The previous version in which this bug was not present was
19.0.0 (not sure which one changed the behaviour... but for sure 19.0.0 was fine)
Description
Hey!
It seems to me the current ng serve (cli 19.0.6) has a problem loading any file named main.js saved in the public folder. The issue is very easy to reproduce:
- create a new project,
- save a simple
main.jsinpublic/test, - run
ng serve - open
http://localhost:4200/test/main.js, - the
main.jsfrom the bundle is loaded.
Minimal Reproduction
- create a new project,
- save a simple
main.jsinpublic/test, - run
ng serve, - open
http://localhost:4200/test/main.js, - the
main.jsfrom the bundle is loaded.
Your Environment
cli 19.0.6
Metadata
Metadata
Assignees
Labels
area: @angular/builddevkit/build-angular:dev-serverfreq1: lowOnly reported by a handful of users who observe it rarelyOnly reported by a handful of users who observe it rarelyseverity3: brokentype: bug/fix