FileSystemWatcherManager中,当监测到文件发生变化时,输出日志。
This commit is contained in:
DESKTOP-1N1NK8A\auvkk 2023-05-08 15:08:37 +08:00
parent 629c5a0cbc
commit 076116ddbe
1 changed files with 1 additions and 0 deletions

View File

@ -59,6 +59,7 @@ namespace Aitex.Core.Util
{
if (sender is FileSystemWatcher watcher)
{
LOG.Info($"{e.FullPath} changes detected.");
if(_dicWatches.TryGetValue(watcher, out var action))
action(e.FullPath);
}