Jelajahi Sumber

Don't show app running message twice (#1770)

Nikhil Rao 1 tahun lalu
induk
melakukan
abc09f9074
1 mengubah file dengan 2 tambahan dan 1 penghapusan
  1. 2 1
      reflex/utils/exec.py

+ 2 - 1
reflex/utils/exec.py

@@ -92,8 +92,9 @@ def run_process_and_launch_url(run_command: list[str]):
                         if get_config().frontend_path != "":
                             url = urljoin(url, get_config().frontend_path)
                         console.print(f"App running at: [bold green]{url}")
+                        first_run = False
                     else:
-                        console.print("New packages detected updating app...")
+                        console.print("New packages detected: Updating app...")
                 else:
                     console.debug(line)
                     new_hash = detect_package_change(json_file_path)