Skip to content

Race condition when executing the command ""dev": "concurrently \"npm run serve\" \"tauri dev\"" on a vue/tauri application #534

Open
@anijjar

Description

@anijjar

Problem: running the above command on a powershell terminal results in several vue and tauri instances from being generated. The vue service seems to iterate its ports by 1 from 8080 until it crashes; the tauri service is set for 8081 and it does not report the port number but it also opens several windows after the command crashes/hangs.

Steps to replicate:

  • setup new vue project
  • setup tauri
  • install concurrency
  • call "npm run dev"

Notes:

  • Package files were kept default, except for the tauri config file where the url was changed.

  • Vue used the port 8080 and tauri used 8081. I suspect it has something to do with one of the two services locking a resource but I am not too sure.

I am going to avoid using concurrency for this project until this bug is worked out, but thank you in advance for addressing it. Let me know if you want some more data.

Cheers.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions