Log output file written when verbose.

This helps CI builds keep a record of exactly what happened, among other things.
This commit is contained in:
Daniel Stockman
2012-12-12 12:39:51 -08:00
committed by Luke Page
parent 092f81d452
commit a62e8f6c00

View File

@@ -136,6 +136,9 @@ var parseLessFile = function (e, data) {
if (output) {
ensureDirectory(output);
fs.writeFileSync(output, css, 'utf8');
if (options.verbose) {
console.log('lessc: wrote ' + output);
}
} else {
sys.print(css);
}