madskristensen / WebEssentials2013

Visual Studio extension
http://vswebessentials.com
Other
945 stars 252 forks source link

LESS: depended file not compiled on save if "error" #1938

Open aleksanderzubkov opened 9 years ago

aleksanderzubkov commented 9 years ago

After version 2.6.13 installed LESS depended files only compiled if saved file do not have "errors".

For example: 1) There's _buttons.less file which should not be compiled on save. File _buttons.less uses variables from separate file _variables.less which is not imported in _buttons.less but imported in up-level theme.less. So _buttons.less will produce error on compilation. 2) There's theme.less file which imports _buttons.less, _variables.less etc. and can compiled without any errors. 3) If theme.less is saved then it's compiled. But if _buttons.less is saved then depended theme.less is not compiled.

Before 2.6.13 there was no problems with compiling depended files.

brgrz commented 9 years ago

Experiencing the exact same issue..

farroutt3fan commented 9 years ago

I'm also experiencing this issue. The file where the variable is used doesn't compile due to the error, so the main file does not compile unless I save it directly.