소스 검색

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)