diff --git a/run_python_with_restart.ps1 b/run_python_with_restart.ps1 index e6410ea..bc88915 100644 --- a/run_python_with_restart.ps1 +++ b/run_python_with_restart.ps1 @@ -26,7 +26,8 @@ while ($true) { Write-Host "Running tests..." $testExitCode = Run-Tests if ($testExitCode -ne 0) { - Write-Host "Tests failed. Waiting $waitTime seconds before next attempt..." + Write-Host "Tests failed. Attempting git pull and waiting $waitTime seconds before next attempt..." + Git-Pull Start-Sleep -Seconds $waitTime $waitTime *= 2 continue