Skip to main content

Function: start()

start(__namedParameter: HMROptions): void

Starts HMR for all registered Store Stores in container.stores the main container.

Parameters

ParameterTypeDescription
__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:20