diff --git a/parallel-uglify b/parallel-uglify index 98dd4cc..0e3669c 100755 --- a/parallel-uglify +++ b/parallel-uglify @@ -42,7 +42,7 @@ function launch(err, files) { console.log( 'master: Sending job ' + job + ' to worker ' + worker_id ); worker_process.send({ cmd: 'go', name: files[job] }); } else { - console.log( 'master: we are all done. Kill ' + worker_id ); + console.log( 'master: We are all done. Disconnecting ' + worker_id + '.'); worker_process.disconnect(); } } diff --git a/worker.js b/worker.js index ee56595..6023d9e 100644 --- a/worker.js +++ b/worker.js @@ -24,6 +24,6 @@ process.on( 'message', function( msg ) { }); process.on( 'exit', function( err ) { - console.log( 'worker' + id + ': I am Exiting' ); + console.log( 'worker' + id + ': I am exiting' ); });