Skip to content

HotContext beta ​

Interface of @v12-engine/engine

ts
export interface HotContext

What a module's import.meta.hot gives for hot reload, as Vite has it: what loads the page again

Members ​

invalidate ​

ts
invalidate(message?: string): void;

Asks Vite to load the page again, with the reason given; called when a new module cannot be taken by the running game