Skip to content

Commit

Permalink
remove --debug on publish
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolaslabbe committed Sep 15, 2016
1 parent a3179b7 commit cb2c7f9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/index.js
Expand Up @@ -317,18 +317,18 @@ if(typeof userArgs[0] !== 'undefined' && userArgs[0] !== null){
}

// var command = `node --harmony --debug ./cli/process/publish-all.js ABE_WEBSITE=${dir}`
const publishAll = spawn('node', ['--harmony', '--debug', __dirname + '/cli/process/publish-all.js', 'ABE_WEBSITE=' + dir, customPath]);
const publishAll = spawn('node', ['--harmony', __dirname + '/cli/process/publish-all.js', 'ABE_WEBSITE=' + dir, customPath]);

publishAll.stdout.on('data', (data) => {
console.log(clc.cyan('stdout'), data.toString())
console.log(data.toString())
});

publishAll.stderr.on('data', (data) => {
console.log(clc.red('stderr'), data.toString())
console.log(data.toString())
});

publishAll.on('close', (code) => {
console.log(clc.cyan(`child process exited with code`), code);
console.log(clc.cyan(`child process exited with code`) + ' ' + code);
process.exit(0)
});

Expand Down

0 comments on commit cb2c7f9

Please sign in to comment.