const child_process = require('child_process');
const forkedChild = child_process.fork(__dirname + '/child.js', ['build']);
forkedChild.on('message', function (message) {
console.log('PARENT got message from child: ' +
message.foo + ' | '+ message.arg);
});
forkedChild.send({hello: 'world'})