-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dangling dev server process #1626
Comments
Found two ways to reproduce:
|
I think the issue could be that tauri/tooling/cli.rs/src/dev.rs Lines 171 to 190 in 0f86bc4
|
What framework are you using? What's your beforeDevCommand? |
I'm using vite/Svelte |
I can confirm this issue, it should affect all users. It happens because we're using |
I've fixed it on the Tauri side, but Svelte still has an issue, the server kill isn't working for some reason. |
@lucasfernog Hmm, a bit confused by that. Sending SIGINT to the |
I think SIGINT is handled by |
Reproduced it with just the svelte template, so opened an issue there. Thanks for helping with this! |
Describe the bug
Sometimes when tauri exits, I'm left with the
beforeDevCommand
still running in the background (as anode
process), which I notice because the port is still in use the next time I runtauri dev
. I'm guessing this happens on some crashes or some other unusual situations.To Reproduce
Haven't found a way to reproduce it reliably yet
Platform and Versions (please complete the following information):
OS: macOS 10.15.7
Node: 14.16.0
NPM: 6.14.11
Rustc: 1.51.0
The text was updated successfully, but these errors were encountered: