Skip to content

Commit

Permalink
fix(local-build): 'Action is taking a long time' fix
Browse files Browse the repository at this point in the history
  • Loading branch information
he3als committed Jun 11, 2024
1 parent fe8f437 commit 4af0441
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/local-build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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", " "

Expand Down

0 comments on commit 4af0441

Please sign in to comment.