nx-examples icon indicating copy to clipboard operation
nx-examples copied to clipboard

Concurrent js:serve runExecutor iterators failure

Open cdaringe opened this issue 2 years ago • 2 comments

Problem

  • executor foo tries to run and iterate through two js:serve executors on the dummy 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

cdaringe avatar Mar 12 '22 08:03 cdaringe

✔️ 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

netlify[bot] avatar Mar 12 '22 08:03 netlify[bot]