Skip to main content
Version: 1.x

IpcMessageCommand

IpcMessageCommand​

Represents HMR inter-process communication messages.

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

event​

property

The type of HMR event being communicated.

path​

property
string

The path associated with the HMR event.

changeType​

The original filesystem change type that triggered this HMR event.

id​

property
string

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