-
Notifications
You must be signed in to change notification settings - Fork 445
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
Concurrent js:serve runExecutor iterators failure #193
base: master
Are you sure you want to change the base?
Conversation
☁️ Nx Cloud ReportCI ran the following commands for commit 55fc9e9. Click to see the status, the terminal output, and the build insights. 📂 See all runs for this branch ✅ Successfully ran 4 targets
Sent with 💌 from NxCloud. |
@@ -0,0 +1,7 @@ | |||
// eslint-disable-next-line no-eval | |||
const argv = eval('process').argv as string[]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just cause it's late and i got lazy configuring typescript for node :)
✔️ Deploy Preview for nrwl-nx-examples-dep-graph ready! 🔨 Explore the source changes: 55fc9e9 🔍 Inspect the deploy log: https://app.netlify.com/sites/nrwl-nx-examples-dep-graph/deploys/622c54838bdd47000830a159 😎 Browse the preview: https://deploy-preview-193--nrwl-nx-examples-dep-graph.netlify.app |
@@ -0,0 +1,32 @@ | |||
module.exports = async function* combine(iterable) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yanked from https://stackoverflow.com/a/50586391
just a copy-paste for combine AsyncIterators to exhaust them concurrently
Problem
foo
tries to run and iterate through twojs:serve
executors on thedummy
app, but only one app runsUnderstanding the demo
runExecutor
is called twice, producing two async iterators...however, execution halts for one iterator.
You can swap the target (such as
build
,lint
) and these targets do not suffer the failure