debuggin info
This commit is contained in:
parent
79611abdab
commit
3ba0f558a3
@ -114,7 +114,7 @@ def run_process_and_launch_url(run_command: list[str], backend_present=True):
|
|||||||
notify_backend()
|
notify_backend()
|
||||||
first_run = False
|
first_run = False
|
||||||
else:
|
else:
|
||||||
console.print("New packages detected: Updating app...")
|
console.print(f"New packages detected: Updating app... {line}")
|
||||||
else:
|
else:
|
||||||
if any(
|
if any(
|
||||||
x in line for x in ("bin executable does not exist on disk",)
|
x in line for x in ("bin executable does not exist on disk",)
|
||||||
@ -127,9 +127,12 @@ def run_process_and_launch_url(run_command: list[str], backend_present=True):
|
|||||||
new_hash = detect_package_change(json_file_path)
|
new_hash = detect_package_change(json_file_path)
|
||||||
if new_hash != last_hash:
|
if new_hash != last_hash:
|
||||||
last_hash = new_hash
|
last_hash = new_hash
|
||||||
|
console.print("Reloading app...")
|
||||||
kill(process.pid)
|
kill(process.pid)
|
||||||
process = None
|
process = None
|
||||||
break # for line in process.stdout
|
break # for line in process.stdout
|
||||||
|
else:
|
||||||
|
console.print(f"No change: {line}")
|
||||||
if process is not None:
|
if process is not None:
|
||||||
break # while True
|
break # while True
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user