浏览代码

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

Nikhil Rao 1 年之前
父节点
当前提交
abc09f9074
共有 1 个文件被更改,包括 2 次插入1 次删除
  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)