ritwickdey / vscode-live-sass-compiler

Compile Sass or Scss file to CSS at realtime with live browser reload feature.
https://ritwickdey.github.io/vscode-live-sass-compiler/
MIT License
658 stars 169 forks source link

SASS Compiler always says 'Working on it'. #359

Open AdityaV0909 opened 4 years ago

AdityaV0909 commented 4 years ago

It compiles perfectly when in default settings but as soon as I change the settings.json file to { "editor.suggestSelection": "first", "vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue", "workbench.colorTheme": "Material Theme Ocean High Contrast", "python.languageServer": "Microsoft", "workbench.iconTheme": "vscode-icons", "editor.renameOnType": true, "liveServer.settings.donotShowInfoMsg": true, "[html]": { "editor.defaultFormatter": "esbenp.prettier-vscode" }, "liveServer.settings.donotVerifyTags": true, "liveSassCompile.settings.autoprefix": [ { "format": "compressed", // "extensionName": ".min.css", "savePath": "/css" } ] }

It doesn't compile when the settings are changed.

cmathieu333 commented 4 years ago

@AdityaV0909 I'm having the same issue on one of my sites. Did you figure it out?

AdityaV0909 commented 4 years ago

No, I couldn't figure it out. Much more easier to do it on the terminal.

Christopher-Hayes commented 3 years ago

@AdityaV0909 it looks like it's not parsing the settings correctly because "liveSassCompile.settings.autoprefix" is supposed to be "liveSassCompile.settings.formats". Autoprefix is for adding things like -webkit- before styles, formats for output formatting.

Also, if you're interested in using the latest Sass features using Dart Sass instead of the deprecated LibSass, I recommend checking out Glenn's new repo at https://github.com/glenn2223/vscode-live-sass-compiler, since the current repo is no longer maintained, Glenn is continuing to fix bugs and add features in a new repo.