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 c899d13 commit 6d1ed14
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/lt-win-msvc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ jobs:
run: |
npm install -g localtunnel
Start-Process -FilePath "powershell.exe" -ArgumentList "C:\setup-ce.ps1"
$connection = New-Object System.Net.Sockets.TcpClient("localhost", 10240)
while(-Not $connection.Connected){ Start-Sleep -s 1 }
while($true){ try { New-Object System.Net.Sockets.TcpClient("localhost", 10240); break } Start-Sleep -s 1 }
Start-Sleep -s 3
lt --port 10240

0 comments on commit 6d1ed14

Please sign in to comment.