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
I tried to import the scss file of the parent theme. This worked with the code below. But now it does not re-compile when files (in the parent theme) are changed.
@import '../../parent-theme/sass/style';
When deleting this import line – save the file – and reinserting it. It compiles fine.
Any idea why this is or how this could be fixed?
Thanks a lot for your help
The text was updated successfully, but these errors were encountered:
I have the same issue. I think it would be great if this could be generalized in some universal way.
In my use case I have a parent and child theme that both use SCSS and I'm relying on WP-SCSS for compiling the SCSS (the child theme imports the main file from the parent theme). I think this is brilliant for theme development, so thanks for the plugin! ❤️
I assume that WP-SCSS only looks for changes in the SCSS directory specified in the settings and thus isn't able to detect changes to the parent files, because they're chilling in a different directory from what the plugin is watching.
I tried to import the scss file of the parent theme. This worked with the code below. But now it does not re-compile when files (in the parent theme) are changed.
@import '../../parent-theme/sass/style';
When deleting this import line – save the file – and reinserting it. It compiles fine.
Any idea why this is or how this could be fixed?
Thanks a lot for your help
The text was updated successfully, but these errors were encountered: