Skip to content

remix/node-hmr · Interface

View Source

BrowserHmrChannelOptions

Summary

Browser HMR event stream options hosted by the parent process.

Signature

interface BrowserHmrChannelOptions {
  host?: string
  pathname?: string
  port?: number
}

Properties

host

Hostname for the browser HMR event server. ('127.0.0.1')

pathname

URL pathname for the browser HMR event stream. ('/hmr')

port

Port for the browser HMR event server. Uses an available ephemeral port when omitted.