From 4af044112213a1503f8ac90c2549dffced0dc37c Mon Sep 17 00:00:00 2001 From: he3als <65787561+he3als@users.noreply.github.com> Date: Tue, 11 Jun 2024 18:14:35 +0100 Subject: [PATCH] fix(local-build): 'Action is taking a long time' fix --- src/local-build.ps1 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/local-build.ps1 b/src/local-build.ps1 index 9cb8a61e1c..c35dc50416 100644 --- a/src/local-build.ps1 +++ b/src/local-build.ps1 @@ -85,8 +85,7 @@ try { $a = Join-Path (Get-ChildItem (Join-Path $([Environment]::GetFolderPath('CommonApplicationData')) '\AME\Logs') -Directory | Sort-Object LastWriteTime -Descending | Select-Object -First 1).FullName '\OutputBuffer.txt'; -Get-Content -Wait -LiteralPath $a | Write-Output; -pause +while ($true) { Get-Content -Wait -LiteralPath $a -EA 0 | Write-Output; Start-Sleep 1 } } [string]$liveLogText = ($liveLogScript -replace '"','"""' -replace "'","''").Trim() -replace "`r?`n", " "