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
657 stars 169 forks source link

Sass compiler not working sir #354

Open yehoan opened 4 years ago

yehoan commented 4 years ago

sometimes when i write code in sass files in vscode and find not can compile my code into css files just have watch sass not in watching status and it need i to click watch button but it will compile all my files in fact i just want to compile my current open files.... thanks

ashuvssut commented 4 years ago

COMMON SOLUTION create a setting.json file in .vscode folder. add the following JSON code to settings.json

"liveSassCompile.settings.excludeList": [
        "**/node_modules/**",
        ".vscode/**",
       "<name_of_the_folder_or_file>"
 ]

Replace <name_of_the_folder_or_file> with the full path of the sass file you want to exclude. e.g.: sass/styles.sass.

ALTERNATE HACK include a "_" in front of your sass file name. eg: _styles.sass that file will be excluded from being compiled.

This comment Closes #354