-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(dev): add changeset for new dev server options
- Loading branch information
Showing
1 changed file
with
23 additions
and
0 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). |