Delegate with implementation for HMR-specific functions.
▸ getUriPath(): string
Get URI under which HMR server will be running, e.g: /hmr
string
▸ onClientConnected(platform, clientId): void
Callback for when the new HMR client is connected.
Useful for running initial synchronization or any other side effect.
| Name | Type | Description |
|---|---|---|
platform |
string |
Platform of the connected client. |
clientId |
string |
Id of the connected client. |
void