code: function createCSS(lessFile, styledirs) {
  	styledirs = styledirs || [];
  	//add the file's directory to the styledirs so that relative paths for @imports work
  	styledirs.push(lessFile.substr(0, lessFile.lastIndexOf('/')));
  	var data = fs.readFileSync(lessFile);
  	var parser = new(less.Parser)({
  		// Specify search paths for @import directives. Combine with these common defaults
  		paths: styledirs.concat(['.', './css']),
      // ensure we always use sync methods to avoid issue with @import in grunt
      syncImport: true
  	});
  	parser.parse(data.toString(), function(e, tree) {
  		if (e) throw new Error ('Error parsing LESS file: ' + lessFile + '\n Cause: ' + e.message + '\n');
  		var cssFile = lessFile.substr(0, lessFile.lastIndexOf('.')) + '.css';
  		fs.writeFileSync(cssFile, tree.toCSS({
  			compress: true
  		}));
  		log('created CSS file: ' + cssFile);
  	});
  }
docs: /* Generate a CSS file based on a LESS file. Optionally pass an array of paths to use for looking up @imports FIXME styledirs is getting appended to over and over with duplicates