// Now wait for a file to change before restarting process
awaitfileSetWatcher.GetChangedFileAsync(cancellationToken,()=>_logger.LogWarning("Waiting for a file to change before restarting dotnet..."));
awaitfileSetWatcher.GetChangedFileAsync(cancellationToken,()=>_logger.LogWarning("watch: {Replica} Waiting for a file to change before restarting dotnet...",replica));
// Build failed, keep retrying builds until successful build.
}
awaitfileSetWatcher.GetChangedFileAsync(cancellationToken,()=>_logger.LogWarning("Waiting for a file to change before restarting dotnet..."));
// Now wait for a file to change before restarting process
awaitfileSetWatcher.GetChangedFileAsync(cancellationToken,()=>_logger.LogWarning("watch: {Replica} Waiting for a file to change before restarting dotnet...",replica));