How do I exit NextJS with a SIGTERM signal?
Open in Discord
Irish Red and White Setter posted this in #help-forum
Irish Red and White SetterOP
npm run dev or
npx next dev starts the dev server. Sending a SIGTERM to this process does not invoke any exiting procedure - it can't shut down gracefully. Is there any way to exit it gracefully?