spawn-auto-restart
Advanced tools
Comparing version 2.0.0 to 2.0.1
{ | ||
"name": "spawn-auto-restart", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "spawn-auto-restart", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -35,2 +35,6 @@ var spawn = require('child_process').spawn; | ||
// pipe all outputs and preserve colors | ||
procOptions = procOptions || {}; | ||
procOptions.stdio = 'inherit'; | ||
/** | ||
@@ -42,5 +46,2 @@ * start the child process | ||
proc.stdout.pipe(process.stdout); | ||
proc.stderr.pipe(process.stderr); | ||
var onClose = function (code) { | ||
@@ -47,0 +48,0 @@ if (!restarting) { |
5854
67