windows: node process title detection fix
This commit is contained in:
parent
1d6448ffd4
commit
436cc1fd22
1 changed files with 1 additions and 1 deletions
|
|
@ -3,7 +3,7 @@ var dev = process.argv[1] === '.',
|
|||
|
||||
var serverStarted
|
||||
|
||||
if (process.title === 'node') {
|
||||
if (process.title === 'node' || process.title === 'node.exe') {
|
||||
process.on('uncaughtException', (err)=>{
|
||||
console.error('A JavaScript error occurred in the main process:')
|
||||
console.trace(err)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue