Skip to content

[Fetaure Request] Improve concurrent / parallel run #685

Description

@akhansari

Without nub

Usually we use concurrently to run multiple scripts:

{
  "scripts": {
    "serve": "concurrently --names '🤖,🌼' 'pnpm --filter backend serve' 'pnpm --filter frontend serve'"
  }
}

With nub 0.7.0

We can remove the serve script from the main package.json and do:

nub run -r serve
# or
nub run -r --parallel serve

But we lose the color output (--color=always doesn't work) and we cannot customize the prefix (we get something like frontend serve: ... for each line).

Feature requests

  • Allow color output in concurrent / parallel mode
  • Allow to customize the prefix to reduce the output noises
  • Allow to distribute SIGINT to all running script once (when pressing Ctrl+C)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions