xx
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
1bcc831937
commit
df2f179917
|
@ -124,9 +124,9 @@ 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);
|
||||
//watcher.EnableRaisingEvents = false;
|
||||
FileSystemWatcher watcher = new FileSystemWatcher(Path.GetDirectoryName(filePath), Path.GetFileName(filePath));
|
||||
watcher.Changed += (sender, e) => LoadJsonFile(filePath);
|
||||
watcher.EnableRaisingEvents = false;
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue