Skip to content
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

Forwards args through thread-loader #5157

Merged
merged 2 commits into from
Sep 28, 2018

Conversation

arcanis
Copy link
Contributor

@arcanis arcanis commented Sep 28, 2018

Related: #5136

This diff ensures that the process arguments (in particular --require) are correctly forwarded to the spawned subthreads. This is important, since preload scripts typically modify the environment in some capacity.

@gaearon
Copy link
Contributor

gaearon commented Sep 28, 2018

Mind adding a brief comment to the new lines explaining the reasoning? So that the reader can make an informed choice for whether they care about them or are OK with removing them in an ejected project.

@gaearon gaearon merged commit 97c7131 into facebook:master Sep 28, 2018
@gaearon
Copy link
Contributor

gaearon commented Sep 28, 2018

Thanks.

zmitry pushed a commit to zmitry/create-react-app that referenced this pull request Sep 30, 2018
* Forwards args through thread-loader

* Comments & dev
@lock lock bot locked and limited conversation to collaborators Jan 19, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants