-
Notifications
You must be signed in to change notification settings - Fork 207
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow
host
/port
to be updated in Miniflare#setOptions()
If `port: 0` is passed to `Miniflare#setOptions()`, a new random port will be allocated. Previously, Miniflare would always try to reuse the existing port (even if a non-zero port was passed). That behaviour can be retained by passing `port: (await mf.ready).port` to `setOptions()`. We'd like this for Wrangler, so we can guarantee we always reload on a fresh port.
- Loading branch information
Showing
3 changed files
with
134 additions
and
125 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.