nodemon -v: 3.0.1
i was add the process catch exception ,when i run it by node it is working ,when i run it by nodemon it is not working ,the node process is restart
process.on('uncaughtException', (error => {
console.error("catch exception", error)
}));
process.on('unhandledRejection', (error => {
console.error("catch exception", error)
}));
nodemon -v: 3.0.1 i was add the process catch exception ,when i run it by node it is working ,when i run it by nodemon it is not working ,the node process is restart process.on('uncaughtException', (error => { console.error("catch exception", error) })); process.on('unhandledRejection', (error => { console.error("catch exception", error) }));