Убрал все эти watchers. Написал свой простой как 3 копейки.

This commit is contained in:
Mikhail Trubnikov
2023-08-28 16:03:39 +10:00
parent 04e4122ffc
commit a11885ded0
8 changed files with 62 additions and 34 deletions

View File

@@ -15,13 +15,7 @@ namespace PARR.EsppTemplateSyncWorker
protected override async Task ExecuteAsync(CancellationToken stoppingToken)
{
//var task = new Task(() =>
//{
// templateSyncer.StartWatching();
//});
//task.Start();
templateSyncer.StartWatching();
await templateSyncer.StartWatchingAsync();
//while (!stoppingToken.IsCancellationRequested)
//{