Hello Peter,
Thank you for the detailed questions. Your understanding is generally correct, but there is an important distinction regarding how Helix Ultimate uses SCSS.
In Helix Ultimate, SCSS is primarily used to generate the template's CSS based on the configuration and style settings selected in the template options. For example, settings such as the body background color, text color, header colors, typography, and other template styling options are represented through SCSS variables and are then compiled into the final template.css file.
SCSS is used instead of writing all of the styles directly in CSS because it provides features such as variables, reusable rules, nesting, and better organization of the template's styling. This makes it much easier for the template to dynamically generate the appropriate CSS based on the options configured by the user.
Regarding your questions:
- Helix Ultimate template updates: When you update Helix Ultimate, any required changes to the template's SCSS/CSS structure are handled as part of the update process. You generally do not need to keep the SCSS compiler enabled permanently just to accommodate future template updates.
- Changing template options: If you change styling options through the Helix Ultimate template configuration, the required CSS is generated accordingly. The SCSS compiler is relevant when the template needs to regenerate the CSS from the SCSS sources.
- Manually modifying SCSS files: Normally, customers do not need to edit the SCSS files directly. If you do make custom changes to the SCSS source files, then yes, you would need to enable the SCSS compiler so that those changes can be compiled into
template.css. After confirming that the changes have been compiled, you can disable the compiler again on a production site.
So, for a typical production website where you are not directly modifying the SCSS source files, it is recommended to keep the SCSS compiler disabled. This also avoids the unnecessary recompilation and modification of template.css that you observed with your monitoring script.
I hope this gives you a clearer picture of how the process works and why disabling the compiler on a production site is recommended.
Best regards