Skip to content

[bug] Development Server Do Not Killed After Window Exited #4262

@j4w0

Description

@j4w0

Describe the bug

When I exited the window, the app window was exited and terminated. But the development server didn't stop and continuously running on background until I manually kill the process.

Confirm that it exists on official cli create-react-app template.

Reproduction

  1. Create a testing repo with create-tauri-app [select create-react-app template]
  2. Run yarn tauri dev
  3. Close the window
  4. Repeat step 2 or check ports with netstat -nlpn

Expected behavior

No response

Platform and versions

$ tauri info

Environment
  › OS: Linux Soaring X64
  › Node.js: 16.15.0
  › npm: 8.5.5
  › pnpm: Not installed!
  › yarn: 1.22.18
  › rustup: 1.24.3
  › rustc: 1.61.0
  › cargo: 1.61.0
  › Rust toolchain: stable-x86_64-unknown-linux-gnu 

Packages
  › @tauri-apps/cli [NPM]: 1.0.0-rc.13
  › @tauri-apps/api [NPM]: 1.0.0-rc.6
  › tauri [RUST]: 1.0.0-rc.14,
  › tauri-build [RUST]: 1.0.0-rc.12,
  › tao [RUST]: 0.9.1,
  › wry [RUST]: 0.17.0,

Stack trace

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions