不监测修改
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
75bf85997a
commit
1bcc831937
|
@ -124,8 +124,8 @@ namespace IRaCIS.Application.Services.BackGroundJob
|
|||
throw new BusinessValidationFailedException(StaticData.International("IRaCISCHangfireJob_FileNotFound"));
|
||||
}
|
||||
|
||||
FileSystemWatcher watcher = new FileSystemWatcher(Path.GetDirectoryName(filePath), Path.GetFileName(filePath));
|
||||
watcher.Changed += (sender, e) => LoadJsonFile(filePath);
|
||||
//FileSystemWatcher watcher = new FileSystemWatcher(Path.GetDirectoryName(filePath), Path.GetFileName(filePath));
|
||||
//watcher.Changed += (sender, e) => LoadJsonFile(filePath);
|
||||
//watcher.EnableRaisingEvents = false;
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue