#Any way to restart a process automatically with Bun?
1 messages · Page 1 of 1 (latest)
any response here ?
Processes are not able to restart themselves, or if they do this means they don't really restart
So yes, you need PM2 or any other parent process to monitor the lifecycle of the children
Technically a process can restart itself but only if it's not a crash as you would need 2 processes to detect that
I guess you mean exec-ing your own process in place of itself, but this is not doable with Bun? or is it?