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

Parcel hangs when PARCEL_WORKERS is set to zero #1708

Closed
RobertWHurst opened this issue Jul 11, 2018 · 0 comments
Closed

Parcel hangs when PARCEL_WORKERS is set to zero #1708

RobertWHurst opened this issue Jul 11, 2018 · 0 comments
Labels

Comments

@RobertWHurst
Copy link
Contributor

🐛 bug report

When the environment variable PARCEL_WORKERS is 0 parcel hangs on the first bundle.

🤔 Expected Behavior

Parcel should compile the bundle using the local worker in the worker farm.

😯 Current Behavior

Instead Parcel queues all work for remote workers even though none are spawned. This results in a hang.

💁 Possible Solution

Ensure the worker farm correctly uses the local worker instead of queuing for remote workers when no workers are spawned.

🔦 Context

Working on #1370, while debugging my changes, I ran into this issue.

🌍 Your Environment

Software Version(s)
Parcel Master
Node v8.11.3
npm/Yarn yarn v1.7.0
Operating System macOS 10.13.5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants