Skip to content

Commit

Permalink
Merge pull request #12 from BenWoodford/master
Browse files Browse the repository at this point in the history
Ignore files starting with an underscore
  • Loading branch information
jgreene committed Sep 17, 2014
2 parents 1627e49 + 179f466 commit 00b039d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ walker.on('directories', function(root, dirStatsArray, next) {
});

walker.on('file', function(root, fileStats, next) {
if(/.*\.(less)$/.test(fileStats.name)){
if(/.*\.(less)$/.test(fileStats.name) && fileStats.name.indexOf("_") != 0){
var filePath = path.resolve(root, fileStats.name);

// Compile .less file on startup:
Expand Down

0 comments on commit 00b039d

Please sign in to comment.