I use live sass compiler extension in vsCode then generation css not worked for me until I save main.scss file.
for example have a project contains this directory
+style
- style.css
- main.scss
- dashboard (folder)
--_sidebar.scss
+index.html
if change happened in _sidebar.scss nothing happened, but then I save main.scss file and generation happened.
its always same and every time I use live sass compiler boring me when change SCSS file then again save main.scss just to generate CSS file.
I changed live sass compiler setting in setting.json to this:
"liveSassCompile.settings.formats": [
{
"format": "compressed",
"extensionName": ".css",
"savePath": "~/../style",
"savePathSegmentKeys": null,
"savePathReplaceSegmentsWith": null
}
]
but it generate all SCSS files in any folder in my computer and I don't know how to fix it.
I want to generate CSS file every time when change happen in any SCSS file