Added extra logging for detected settings changes

This commit is contained in:
djbadders 2019-03-06 21:52:04 +00:00
parent eec31d9e2c
commit 9b16bb5841
1 changed files with 2 additions and 0 deletions

View File

@ -601,6 +601,8 @@ namespace Core.Main
// Disable the file watcher whilst we deal with the event // Disable the file watcher whilst we deal with the event
SettingsFiles.PresetFileWatcher.EnableRaisingEvents = false; SettingsFiles.PresetFileWatcher.EnableRaisingEvents = false;
this.Log.DoLogInfo("Detected a '" + e.ChangeType.ToString() + "' change in the following preset file: " + e.FullPath);
// Reprocess now // Reprocess now
PTMagicIntervalTimer_Elapsed(new object(), null); PTMagicIntervalTimer_Elapsed(new object(), null);