示例#1
0
 private void OnChangedScriptConfig(object source, FileSystemEventArgs e)
 {
     try
     {
         builder.LoadScriptConfig();
         componentManager.UpdateScriptSettings();
         Logger.Debug("updated script config file");
     }
     catch (Exception ex)
     {
         Logger.Warn(ex, "could not refresh script config file, custom scripts most likely will not work:");
     }
 }