Plugin โบ onExternalSettingsChange
Plugin.onExternalSettingsChange() method
Called when the data.json file is modified on disk externally from Obsidian. This usually means that a Sync service or external program has modified the plugin settings.
Implement this method to reload plugin settings when they have changed externally.
Signature:
onExternalSettingsChange?(): any;Returns:
any