Skip to content

[parallel] replace worktank - #132

Open
patrickhousley wants to merge 1 commit into
prettier:mainfrom
patrickhousley:main
Open

patrickhousley wants to merge 1 commit into
prettier:mainfrom
patrickhousley:main

Conversation

@patrickhousley

Copy link
Copy Markdown

This PR is primarily to resolve fabiospampinato/worktank#5 for the prettier experimental-cli. Rather than fixing in the upstream, there is IMHO negative-value in having a third-party dependency for something as simple as a worker pool (no offense), this PR replaces worktank with a node-native worker pool implementation.

Worktank is isomorphic, working in both node and browser environments. Not a necessary or used feature CLI project. In fact, this was the entire reason fabiospampinato/worktank#5 exists. Worktank serializes the environment and uses a string replace method to inject that into the worker script.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Worker fails to start when an env value contains "$`"

1 participant