forked from remix-run/remix
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(dev): reuse dev server port for websocket (remix-run#6476)
- Loading branch information
1 parent
b0afbf7
commit 883a389
Showing
18 changed files
with
153 additions
and
176 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
--- | ||
"@remix-run/dev": minor | ||
"@remix-run/react": minor | ||
"@remix-run/server-runtime": minor | ||
--- | ||
|
||
Reuse dev server port for WebSocket (Live Reload,HMR,HDR) | ||
|
||
As a result the `webSocketPort`/`--websocket-port` option has been obsoleted. | ||
Additionally, scheme/host/port options for the dev server have been renamed. | ||
|
||
Available options are: | ||
|
||
| Option | flag | config | default | | ||
| -------------- | ------------------ | ---------------- | --------------------------------- | | ||
| Command | `-c` / `--command` | `command` | `remix-serve <server build path>` | | ||
| Scheme | `--scheme` | `scheme` | `http` | | ||
| Host | `--host` | `host` | `localhost` | | ||
| Port | `--port` | `port` | Dynamically chosen open port | | ||
| No restart | `--no-restart` | `restart: false` | `restart: true` | | ||
|
||
Note that scheme/host/port options are for the _dev server_, not your app server. | ||
You probably don't need to use scheme/host/port option if you aren't configuring networking (e.g. for Docker or SSL). |
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
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.