PluginLifecycleHotReloadAdapter

class PluginLifecycleHotReloadAdapter(pluginManager: UnifiedPluginManager, devHotReloadEngine: DevHotReloadEngine? = null)(source)

Adapter that bridges plugin config changes to the appropriate reload path.

When a plugin's configuration changes, this adapter decides whether to use:

  • The dev hot-reload engine (if the plugin has a registered development source), or

  • The legacy manager-based reload (simple stop → re-init → start).

Constructors

Link copied to clipboard
constructor(pluginManager: UnifiedPluginManager, devHotReloadEngine: DevHotReloadEngine? = null)

Functions

Link copied to clipboard
suspend fun handleConfigChange(pluginId: String)