nx-examples
nx-examples copied to clipboard
Concurrent js:serve runExecutor iterators failure
Problem
- executor
foo
tries to run and iterate through twojs:serve
executors on thedummy
app, but only one app runs
Understanding the demo
- A custom executor is authored, which does things concurrently
-
runExecutor
is called twice, producing two async iterators - those iterators are combined, then all events attempted to be iterated through
...however, execution halts for one iterator.
You can swap the target (such as build
, lint
) and these targets do not suffer the failure
☁️ Nx Cloud Report
CI ran the following commands for commit 55fc9e903f6e3319c1c5c62b2019f782fb326e8b. Click to see the status, the terminal output, and the build insights.
📂 See all runs for this branch
✅ Successfully ran 4 targets
-
nx affected:test --base 4ce39df28b05eb777dc9979968d55d8f22475ab0 --parallel -- --ci --code-coverage
-
nx affected:e2e --base 4ce39df28b05eb777dc9979968d55d8f22475ab0 --configuration production --parallel false -- --headless
-
nx affected:lint --base 4ce39df28b05eb777dc9979968d55d8f22475ab0 --parallel
-
nx affected:build --base 4ce39df28b05eb777dc9979968d55d8f22475ab0 --parallel --configuration production
Sent with 💌 from NxCloud.
✔️ Deploy Preview for nrwl-nx-examples-dep-graph ready!
🔨 Explore the source changes: 55fc9e903f6e3319c1c5c62b2019f782fb326e8b
🔍 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