function
riduSchemaReloadPlugin
Watch the generated schema signal and issue full or custom Vite reload events.
Arguments
| Argument | Type | Description |
|---|---|---|
signalPath | string | The signalPath value. |
Returns
The declared result.
Plugin<any>How it works
Generated ridu.generated.ts and ridu.plugins.generated.ts updates are suppressed from ordinary module HMR because the signal coordinates the correct reload boundary.
Full signature
function riduSchemaReloadPlugin(signalPath: string): Plugin