kucrut/vite-for-wp

Vite server not stopping after a Ctrl+c

mickaelchanrion opened this issue · 2 comments

Hi there!

Thanks a lot for this nice module. Very helpful!

I noticed that the vite server doesn't seem to be killed once the process is exited (Ctrl+C).
Because if I start vite again, the port will increment.

e.g.:

$ yarn dev # Local: http://127.0.0.1:5173/
# ˆC
$ yarn dev # Local: http://127.0.0.1:5174/
# ˆC

Hi @mickaelchanrion,

Can you update to the latest version (including the dependencies) and test it again? I'm not experiencing this issue.

OH: I can now reproduce it with yarn. Running it with pnpm works just fine. I'll have a look.