Skip to content

Commit

Permalink
Update lt-win-msvc.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mguludag authored May 20, 2024
1 parent f818a99 commit 4b665ed
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/lt-win-msvc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ jobs:
run: |
npm install -g localtunnel
Start-Process -FilePath "powershell.exe" -ArgumentList "C:\setup-ce.ps1"
while($true){ try { New-Object System.Net.Sockets.TcpClient("localhost", 10240); break } finally {} Start-Sleep -s 1 }
$Client = New-Object System.Net.Sockets.TcpClient
while($true){ try{ $Client.Connect("localhost", 10240) }catch{} if($Client.Connected){ break } Start-Sleep -s 1 }
Start-Sleep -s 3
lt --port 10240

0 comments on commit 4b665ed

Please sign in to comment.