Issue
There appears to be no change detection in the themes folder, which means no site build.
Expected
I have created a second scss folder in themes to provide separation from my front-end framework. I’m referencing that scss folder correctly and expected Hugo to detect any changes after a save. There is no issue detecting when in the main assets folder.
Reproduce
Place a framework in the main assets folder. Place your custom styles in themes like the example below. Reference the themes folder in your styles.scss in the main assets folder.
// Config.yaml
---
theme: themeName (missing the reference to this folder in config)
---
That being said, I’m curious if the way I’m using it is how themes were intended? I don’t plan on placing any other files in this theme folder besides styles. It might be my lack of understanding for the theme folder, but I don’t quite understand placing anything else in there besides files that would manipulate the look and feel of the site, aka a theme. Thoughts form others would great.
NOTE: Using the theme folder for scss files doesn’t rebuild consistently. There are times where it just doesn’t want to load even with these latest changes.
Thank you both for the reply. It sounds like I should continue to use the main assets folder and just create a theme folder there for the separation. Would you agree?