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

[frameworks] Add autodetection for RedwoodJS #4915

Merged
merged 10 commits into from
Jul 23, 2020
Merged

Conversation

styfle
Copy link
Member

@styfle styfle commented Jul 23, 2020

"value": "yarn rw db up --no-db-client --auto-approve && yarn rw build"
},
"devCommand": {
"value": "yarn rw dev"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't we need to add --port $PORT or something to pass the port?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

They don't support that flag unfortunately, they use a redwood.toml file to set the port.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My understanding is that this dev command won't be used, since the @vercel/redwood Runtime is special-cased. Is that correct?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It uses config.devCommand here:

devCommand = 'yarn rw dev',

So it could be overridden if the user changes their project settings.

@styfle styfle merged commit 19d0db7 into master Jul 23, 2020
@styfle styfle deleted the ch1718/redwood-example branch July 23, 2020 22:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants