Changes in partial scss files are not respected when using ng serve --aot on Windows #15340
Labels
area: @ngtools/webpack
freq1: low
Only reported by a handful of users who observe it rarely
severity5: regression
type: bug/fix
Milestone
🐞 Bug report
Command (mark with an
x
)Is this a regression?
Yes, the previous version in which this bug was not present was: 8.1
Description
When partial scss files are used (
scss
files which names start with_
),ng serve --aot
on Windows does not detect changes in them. This is not happening when--aot
is not passed. Also everything works fine on macOS and Linux.🔬 Minimal Reproduction
You can find a sample project reproducing the issue here: https://github.com/rosen-vladimirov/angular-scss-windows-aot-issue
The project was created with
ng new --style scss
, without router. After that I've included the partial scss file and used it inapp.component
.Run
ng serve --aot
on Windows and apply a change in the partial scss file. Nothing happens.🔥 Exception or Error
No error, just the changes are not detected and they are not applied.
🌍 Your Environment
Anything else relevant?
Issue is reproducible only on Windows.
NOTE: It breaks syncing of partial scss files in NativeScript Angular projects as well (
tns run android --env.aot
is not working on Windows when changing partial scss).The text was updated successfully, but these errors were encountered: