Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions cli/Valet/Ngrok.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ class Ngrok
*/
function currentTunnelUrl($domain = null)
{
// wait a second for ngrok to start before attempting to find available tunnels
sleep(1);

return retry(20, function () use ($domain) {
$body = Request::get($this->tunnelsEndpoint)->send()->body;

Expand Down