Skip to content

fix: place _babel-node after process.execArgv#12638

Merged
JLHwung merged 1 commit intobabel:mainfrom
JLHwung:fix-12635
Jan 18, 2021
Merged

fix: place _babel-node after process.execArgv#12638
JLHwung merged 1 commit intobabel:mainfrom
JLHwung:fix-12635

Conversation

@JLHwung
Copy link
Copy Markdown
Contributor

@JLHwung JLHwung commented Jan 15, 2021

Workaround nodejs/node#36948

Q                       A
Fixed Issues? Fixes #12635
Patch: Bug Fix? Y
Tests Added + Pass? Yes
License MIT

Workaround nodejs/node#36948 by pushing /path/to/_babel-node.js after current execArgv so that the forked clusters could inherit current node options.

@JLHwung JLHwung added PR: Bug Fix 🐛 A type of pull request used for our changelog categories pkg: node labels Jan 15, 2021
@babel-bot
Copy link
Copy Markdown
Collaborator

Build successful! You can test your changes in the REPL here: https://babeljs.io/repl/build/37647/

@codesandbox-ci
Copy link
Copy Markdown

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 568ba63:

Sandbox Source
babel-repl-custom-plugin Configuration
babel-plugin-multi-config Configuration

@JLHwung JLHwung merged commit 6e8250a into babel:main Jan 18, 2021
@JLHwung JLHwung deleted the fix-12635 branch January 18, 2021 20:15
@github-actions github-actions Bot added the outdated A closed issue/PR that is archived due to age. Recommended to make a new issue label Apr 20, 2021
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Apr 20, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

outdated A closed issue/PR that is archived due to age. Recommended to make a new issue pkg: node PR: Bug Fix 🐛 A type of pull request used for our changelog categories

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Babel-node doesn't respect --max_old_space_size option when working with cluster

4 participants