I am not sure what to suggest.
Christian Sepulveda

I found out it’s because child process has swallow stdout. Just replace these code in electron-wait-react.js:

// const exec = require('child_process').exec;
// exec('npm run electron');
const spawn = require('child_process').spawn;
const temp = spawn('npm', ['run', 'electron']);
temp.on('close', function(code) {
console.log('closing code: ' + code);
//Here you can get the exit code of the script
Show your support

Clapping shows how much you appreciated Phan Đức Việt’s story.