You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
SCSS partials not properly updating the files that import them #26390
Which @angular/* package(s) are the source of the bug?
Don't known / other
Is this a regression?
Yes
Description
After updating to angular 17, when making changes to SCSS partials used in components, the changes do not take effect unless you go into the file that's importing them and trigger a save.
You can easily see this by going to the link for the reproduction, changing the color to something else, like "purple", and then saving. The color will not be changed until going into the component stylesheet (test-component.component.scss) where the variable is imported and used, and triggering a save there instead.
Please provide a link to a minimal reproduction of the bug
Activity
alan-agius4 commentedon Nov 17, 2023
I am not able to replicate this outside of stackblitz. If you are replicating it locally, can you please provide the output of
ng version.brianmtreese commentedon Nov 17, 2023
@alan-agius4 ok, no problem. I also created a brand new app and replicated the issue outside of stackblitz (https://github.com/brianmtreese/scss-partials-issue).
Angular CLI: 17.0.1
Node: 18.18.0
Package Manager: npm 10.2.1
OS: win32 x64
Angular: 17.0.3
... animations, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, router
Package Version
@angular-devkit/architect 0.1700.1
@angular-devkit/build-angular 17.0.1
@angular-devkit/core 17.0.1
@angular-devkit/schematics 17.0.1
@angular/cli 17.0.1
@schematics/angular 17.0.1
rxjs 7.8.1
typescript 5.2.2
zone.js 0.14.2
clydin commentedon Nov 21, 2023
Is this still an issue for you with
@angular-devkit/[email protected]?brianmtreese commentedon Nov 21, 2023
Nope, it appears to be fixed now. Thanks!
clydin commentedon Nov 21, 2023
Good to hear and thank you for confirming.
angular-automatic-lock-bot commentedon Dec 22, 2023
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.