Closed
Description
🐞 Bug report
Command (mark with an x
)
- [x ] new
- [x ] build
- [x ] serve
- [ ] test
- [ ] e2e
- [ ] generate
- [ ] add
- [ ] update
- [ ] lint
- [ ] xi18n
- [ ] run
- [ ] config
- [ ] help
- [ ] version
- [ ] doc
Is this a regression?
Yes, in the previous version this bug was not present.
Description
When you save scss file, and cli automatically rebuild the changes doesn't apply and you have to save file again for it to correctly work. I guess it's caused by not deleting all virtual files for styles on change.
This issue came back after fix of #15453 and it was once solved in #15143.
🔬 Minimal Reproduction
- ng s --aot
- make changes in scss file
- save
4.it reloads and changes are not applied - save once again
- it rebuilds and now it shows changes
🌍 Your Environment
Angular CLI: 8.3.9
Node: 10.15.3
OS: win32 x64
Angular: 8.2.10
... animations, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... router
Package Version
-----------------------------------------------------------
@angular-devkit/architect 0.803.9
@angular-devkit/build-angular 0.803.9
@angular-devkit/build-optimizer 0.803.9
@angular-devkit/build-webpack 0.803.9
@angular-devkit/core 8.3.9
@angular-devkit/schematics 8.3.9
@angular/cli 8.3.9
@ngtools/webpack 8.3.9
@schematics/angular 8.3.9
@schematics/update 0.803.9
rxjs 6.5.3
typescript 3.5.3
webpack 4.41.1
Anything else relevant?