Hi guys
I've upgraded to the new release nextjs 13.5. Now when I stop the dev server by pressing CTRL-C I'm getting the following error
X uncaughtException: TypeError [ERR_INVALID_ARG_TYPE]: The "code" argument must be of type number. Received type string ('SIGINT')
at process.set [as exitCode] (node:internal/bootstrap/node:124:9)
at process.exit (node:internal/process/per_thread:188:24)
at process.cleanup (/home/luan/projects/website/node_modules/next/dist/server/lib/start-server.js:208:29)
at process.emit (node:events:523:35)
at Signal.callbackTrampoline (node:internal/async_hooks:130:17) {
code: 'ERR_INVALID_ARG_TYPE'
}
The next-worker still remains running in the background processes
Have I been doing something wrong the whole time when stopping the dev server, or is that actually a bug?