Skip to content

Commit

Permalink
chore: format
Browse files Browse the repository at this point in the history
  • Loading branch information
remix-run-bot committed Dec 6, 2023
1 parent 9333fbb commit f98d461
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions docs/components/live-reload.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,10 @@ export default function Root() {

Specify a custom origin for the Live Reload protocol. The url provided should use the `http` protocol, that will be upgraded to `ws` protocol internally. This is useful when using a reverse proxy in front of the Remix dev server. The default value is the `REMIX_DEV_ORIGIN` environment variable, or `window.location.origin` only if `REMIX_DEV_ORIGIN` is not set.


### `port`

Specify a custom port for the Live Reload protocol. The default value is the port derived from `REMIX_DEV_ORIGIN` environment variable, or `8002` only if `REMIX_DEV_ORIGIN` is not set.


### `timeoutMs`

The `timeoutMs` prop allows specifying a custom timeout for the Live Reload protocol, in milliseconds. This is the delay before trying to reconnect if the Web Socket connection is lost. The default value is `1000`.
The `timeoutMs` prop allows specifying a custom timeout for the Live Reload protocol, in milliseconds. This is the delay before trying to reconnect if the Web Socket connection is lost. The default value is `1000`.

0 comments on commit f98d461

Please sign in to comment.