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

Support Passing Node Options #5448

Open
MichaelrMentele opened this issue May 5, 2022 · 3 comments
Open

Support Passing Node Options #5448

MichaelrMentele opened this issue May 5, 2022 · 3 comments
Assignees

Comments

@MichaelrMentele
Copy link
Contributor

I was trying to run the profiler for jest tests and build times but could not find a way to pass down the proper flags to the node runtime through the CLI.

See these threads:

@jtoar jtoar added this to Triage May 5, 2022
@jtoar jtoar moved this to Needs triage in Triage May 5, 2022
@jtoar jtoar added this to Main May 6, 2022
@jtoar jtoar moved this to Triage in Main May 6, 2022
@jtoar jtoar removed this from Triage May 10, 2022
@jtoar
Copy link
Contributor

jtoar commented May 11, 2022

We had an issue for this that was opened a while ago that I closed after we added the launch.json config: #936. But we're happy to consider this again—I'll be looking at the CLI soon so I'll see what I can do.

@jtoar jtoar assigned jtoar and unassigned simoncrypta May 11, 2022
@jtoar jtoar moved this from Triage to Backlog in Main May 11, 2022
@jtoar
Copy link
Contributor

jtoar commented May 14, 2022

@MichaelrMentele I came across this section in the webpack docs while debugging another issue and thought of this one: https://webpack.js.org/api/cli/#pass-cli-arguments-to-nodejs. It should work the same for redwood apps:

NODE_OPTIONS="..." yarn rw ...

@MichaelrMentele
Copy link
Contributor Author

@jtoar huh I could have sworn I tried that but let me sanity check

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Backlog
Development

No branches or pull requests

3 participants