-
Notifications
You must be signed in to change notification settings - Fork 209
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
Allow setOptions()
to set runtime port
#610
Conversation
|
I think this should work, but I'd prefer we use the same
...then set this here based on miniflare/packages/miniflare/src/index.ts Lines 788 to 790 in cfddac3
We'd need to extract |
… use helper function to parse port
async #assembleAndUpdateConfig() { | ||
const initial = !this.#runtimeEntryURL; |
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.
Tidied this up while I was here. But lemme know if you want me to pull that change out :)
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.
One tiny thing, then looks good to me! ✅
Co-authored-by: MrBBot <me@mrbbot.dev>
e890a43
to
03663fc
Compare
CI seems a little borked, but I don't think it's related to this PR. Merging this now, and will investigate today 👍 |
No idea if this is even vaguely right, but here's a first stab at fixing #608.