Add a task runner option to run executors without forking #29126
forivall
started this conversation in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Similar to
runInBand
for jest, it's useful to be able to run executors in a single process rather than forking out to multiple processes. I used to do this with a custom task runner, but now that custom tasks runners are being deprecated, I wont be able to use that solution going forward. This could be hidden behind an environment variable to avoid people using it accidentally, similar toNX_RUN_COMMANDS_DIRECTLY
.My custom simple-runner
I wanted to publish this on npm, but never got around to it.
POC change to make it happen: 20.1.x...forivall:nx:forivall/run-executor-directly
Beta Was this translation helpful? Give feedback.
All reactions