Skip to main content

Module: @sapphire/plugin-hmr

Interfaces

Functions

start

start(__namedParameter?): void

Starts HMR for all registered {@link Store Stores} in {@link container.stores the main container}.

Parameters

NameTypeDescription
__namedParameterHMROptionsThe HMROptions. This includes all options from chokidar, as well as whether the HMR should be enabled. The default options are { enabled: true }, and if not provided in the object then enabled is also set to true.

Returns

void

Defined in

projects/plugins/packages/hmr/src/lib/hmr.ts:19