Skip to content

beforeDevCommand is not killed on app exit #2794

@harshkhandeparkar

Description

@harshkhandeparkar

Describe the bug

Closing the tauri dev app window doesn't close the dev server started with beforeDevCommand (confirmed using the create-react-app template for create-tauri-app)

To Reproduce

Steps to reproduce the behavior:

  1. Create an app using create-react-app template
  2. Run tauri dev
  3. Close the app window using the x button or alt + f4
  4. Run tauri dev again.

Expected behavior

The dev server should be gracefully shut down when the app is closed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: 2 mediumE.g. DX regressions, bugs, dev crashes, etc...scope: cliThe tauri-cli rust crate and @tauri-apps/cli npm packagetype: bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions