Open bbbates opened 9 years ago
I noticed that if I prefixed the name with an _
(underscore), then the Less files wouldn't be compiled into CSS files. That might be another possible workaround... at least it was for me.
The underscore trick worked for me too.
It can be useful to ensure that only a single less file (usually a "root" less file that contains a large amount of @imports) is compiled, rather than all less files in a path and it's descendents.
This can actually be a workaround for #9 (that @tangrammer eluded to); instead of having the bootstrap less failures fail the build, only build a single (or multiple) "root" less files like thus:
src/less/my-css.less:
project.clj
I also added a change to ensure that the
auto
task watches the parent directory of any less files specified insrc-paths
- which isn't ideal, but will at least force a recompile of the src less file if something changes thats likely to affect the file.