Skip to content
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

Parallelism of commands #28

Open
Isfirs opened this issue Oct 14, 2022 · 1 comment
Open

Parallelism of commands #28

Isfirs opened this issue Oct 14, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@Isfirs
Copy link

Isfirs commented Oct 14, 2022

Description
NPM has a package called Concurrently. It provides a command that can run multiple commands parallel to each other.

Reasoning
In a typical (real) web dev environment, there are multiple tools required to be run. Coming from my current project I have to run:

  • trunk serve --open
  • cargo tauri dev
  • tailwindcss -o ./tailwind.css --watch

tauri can run trunk serve on its own from its devCommand, but that still requires a 2nd command to run the tailwind watch.

More tools may require more commands to be run in parallel.

Are you willing to work on an implementation of this?
I can try, but I am not the strongest in rust. With some help/ direction on what to do I may be able to help on an implementation.

@Isfirs Isfirs added enhancement New feature or request triage This issue needs to be examined by a maintainer labels Oct 14, 2022
@arctic-hen7
Copy link
Owner

This would be an excellent feature, I agree! The question really is the syntax I think. I could add a bonnie -m command that would run each string argument as a command, all in parallel, and then you could use that as a command inside a Bonnie configuration file, which would be an easy way out. Did you have any ideas for this?

@arctic-hen7 arctic-hen7 removed the triage This issue needs to be examined by a maintainer label Oct 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants