-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Long running tasks in parallel #27586
Comments
Related #26462 |
Could you give an example command you want to run and the expected result? |
deno.json{
"workspace": [
"apps/*"
],
} apps/server/deno.json{
"tasks": {
"dev": "deno run -A --env-file --watch src/mod.ts"
}
} apps/web/deno.json{
"tasks": {
"dev": "deno run -A --node-modules-dir npm:vite"
}
} I want to be able to use the recursive flag to run these tasks. Currently when I try using Below is a simple example of what the output could look like in the terminal. vscode ➜ /workspaces/demo (main) $ deno task -r dev
[0] Task dev deno run -A --env-file --watch src/mod.ts
[0] Watcher Process started.
[0] Listening on http://0.0.0.0:8000/
[1] VITE v6.0.7 ready in 158 ms
[1] ➜ Local: http://127.0.0.1:3000/
[1] ➜ press h + enter to show help Below is an example of how Turborepo represents concurrent processes in the terminal. Something like this would be amazing, but honestly I don't really care what the output looks like as long as it works. |
Thanks for explanation. I think the current behavior might actually be buggy. Deno should run recursive tasks in parallel if the topology allows for that. |
The ability to run tasks in all workspace projects recursively is very useful, specifically for build tasks, but it would be nice to be able to run long running tasks recursively in parallel similar to how Turborepo works.
The text was updated successfully, but these errors were encountered: