Describe the bug
I created a simple Typescript Express app that I wanted to try vite-node with. It runs fine but when I edit the src code, I get this error:
[vite-node] Failed to execute file:
Error: listen EADDRINUSE: address already in use :::4000
Which shows that vite-node isn't closing the previous process when in watch mode.
Reproduction
https://stackblitz.com/edit/vitest-dev-vitest-7yrhdv?file=package.json,server.ts&initialPath=__vitest__
changing what is logged out starts to accumulate multiple log entries.
System Info
Used Package Manager
npm
Validations
Describe the bug
I created a simple Typescript Express app that I wanted to try vite-node with. It runs fine but when I edit the src code, I get this error:
Which shows that vite-node isn't closing the previous process when in watch mode.
Reproduction
https://stackblitz.com/edit/vitest-dev-vitest-7yrhdv?file=package.json,server.ts&initialPath=__vitest__
changing what is logged out starts to accumulate multiple log entries.
System Info
Used Package Manager
npm
Validations