child process - Electron's app.relaunch() loose stdio -


using

chokidar.watch(mainfile).on('change', () => {    app.relaunch();    app.exit(0); }); 

i can have electron app auto-reload on source change. since main process killed, loose terminal output necessary debugging. there way use app.relaunch() retaining stdio of parent process?


Comments

Popular posts from this blog

php - trouble displaying mysqli database results in correct order -

depending on nth recurrence of job in control M -

sql server - Cannot query correctly (MSSQL - PHP - JSON) -