Skip to main content
Version: Next

IpcMessageCommand

IpcMessageCommand

Represents HMR inter-process communication messages.

Signature
interface IpcMessageCommand {
event: HMREventType;
path: string;
id?: string;
}

event

property

The type of HMR event being communicated.

path

property
string

The path associated with the HMR event.

id

property
string

An optional identifier for the HMR event, used for acknowledgment.