Comparing version 0.1.7 to 0.1.8
@@ -82,5 +82,11 @@ var output = require('./output.js'); | ||
if (args.length) { | ||
proc = spawn(command, [args], { | ||
cwd: buildDir | ||
}); | ||
if (command === 'npm') { | ||
proc = spawn(command, args.concat('--color', 'always'), { | ||
cwd: buildDir | ||
}); | ||
} else { | ||
proc = spawn(command, args, { | ||
cwd: buildDir | ||
}); | ||
} | ||
} else { | ||
@@ -111,3 +117,3 @@ proc = spawn(command, [], { | ||
stderr.on("line", function (line) { | ||
output('error', ' '+line); | ||
output('success', ' '+line); | ||
}); | ||
@@ -114,0 +120,0 @@ |
{ | ||
"name": "dozerjs", | ||
"version": "0.1.7", | ||
"version": "0.1.8", | ||
"description": "NPM for Managing DozerJS", | ||
@@ -5,0 +5,0 @@ "repository": { |
18944
497