-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
feat(dev): get available port if not available #871
Conversation
Thank you for signing the Contributor License Agreement. Let's get this merged! 🥳 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good 👍
Let's rebase this on current dev, the config changed a bit. |
Also, can LiveReload do the same? |
yeah it does, but we'll need to tell LiveReload in root.tsx about the new port |
11ff12e
to
e1c883e
Compare
Shouldn’t remix/packages/remix-serve/cli.ts Line 6 in 1fd7096
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This would be quite nice! Maybe you could add #1277 to this one? Otherwise the PR is only marginally useful.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good to me. Would love to get this combined with #1352
…lable Signed-off-by: Logan McAnsh <logan@mcan.sh>
Signed-off-by: Logan McAnsh <logan@mcan.sh>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
uses get-port instead of incrementing by 1 like #844 and #746
also applies the port checking to the
devServerPort
closes #863, #844, and #746
Signed-off-by: Logan McAnsh logan@mcan.sh