reload method

  1. @override
void reload()
override

Reloads all configuration files from disk.

Clears all cached data and reloads everything from the filesystem. Useful when configuration files have been modified externally.

config.reload(); // Refresh all configurations

Implementation

@override
void reload() {
  _config.clear();
  _cacheTimestamps.clear();
  _runtimeDirtyConfigs.clear();
  _loadConfigurations();
}