Reputation: 91
This is mostly a nuisance problem (creating clutter in my css directory). I want to know if, in Netbeans 7.4 (or 8.0 beta?), there is any way to tag a LESS file to no be compiled on run/save.
I have a library.less and vars.less file that are .mixins and @variables that get used site-wide in several other less files as includes but don't need to be compiled themselves as they produce effectively empty CSS.
I'd like Netbeans OR lessc.cmd to ignore them if possible. Is it something that can be done?
Upvotes: 3
Views: 1689
Reputation: 295
According to the test suite, editing and saving a partial should trigger a recompile for the parent file with the @include, but it doesn't say anything about excluding the partial itself from preprocessing. My experience is similar to yours.
There's a bug report for the feature here: https://netbeans.org/bugzilla/show_bug.cgi?id=239593
Annoying because the feature was requested back in December 2013, and 8.0 was released in March 2014.
Upvotes: 2