Explorar o código

fix(cli): don't warn on first dev server connection attempt (#4751)

Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
Axel Lindeberg %!s(int64=3) %!d(string=hai) anos
pai
achega
b48962ed15
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      tooling/cli/src/dev.rs

+ 1 - 1
tooling/cli/src/dev.rs

@@ -212,7 +212,7 @@ fn command_internal(mut options: Options) -> Result<()> {
         if std::net::TcpStream::connect(addrs).is_ok() {
           break;
         }
-        if i % 3 == 0 {
+        if i % 3 == 1 {
           warn!(
             "Waiting for your frontend dev server to start on {}...",
             dev_server_url