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
No response
Description
see #25569
library changes are not reflected when using "cli-cache-enabled"=false and "preserveSymlinks"=true and esbuild
when using "@angular-devkit/build-angular:browser" instead of "@angular-devkit/build-angular:browser-esbuild" everything works fine
angular.json
"cli": {
"cache": {
"enabled": false
}
}
"options": {
"preserveSymlinks": true
}
when using "cli-cache-enabled"=true and remove "preserveSymlinks" from otions everything works fine
when using "cli-cache-enabled"=false and remove "preserveSymlinks" application won't start
when using "cli-cache-enabled"=true and "preserveSymlinks"=true changes are not detected
when using "cli-cache-enabled"=true and "preserveSymlinks"=false everything works fine
when using "cli-cache-enabled"=false and "preserveSymlinks"=true changes are not detected
when using "cli-cache-enabled"=false and "preserveSymlinks"=false application won't start
everything works fine = ts and html changes from library work, scss from library doesn't work
I expected to change "@angular-devkit/build-angular:browser" to "@angular-devkit/build-angular:browser-esbuild" and everything would work, but now I will end up in psychiatry because of esbuild
Minimal Reproduction
see #25569
Exception or Error
No response
Your Environment
Angular CLI: 16.2.1
Node: 18.17.1
Package Manager: npm 9.8.1
OS: win32 x64
Angular: 16.2.3
... animations, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, router
Package Version
------------------------------------------------------------
@angular-devkit/architect 0.1602.1
@angular-devkit/build-angular 16.2.1
@angular-devkit/core 16.2.1
@angular-devkit/schematics 16.2.1
@angular/cdk 16.2.2
@angular/cli 16.2.1
@angular/flex-layout 14.0.0-beta.41
@angular/material 16.2.2
@angular/material-moment-adapter 16.2.2
@schematics/angular 16.2.1
rxjs 7.8.1
typescript 5.1.6
zone.js 0.13.1
Anything else relevant?
No response
Activity