interface HotReloadData {
    packageType: string;
    packageId: string;
    content: string;
    path: string;
    extension: string;
}

Properties

packageType: string

The type of package which was modified

packageId: string

The id of the package which was modified

content: string

The updated stringified file content

path: string

The relative file path which was modified

extension: string

The file extension which was modified, e.g. "js", "css", "html"