fix(tui): rebuild when ink bundle is missing

This commit is contained in:
helix4u
2026-04-24 15:51:38 -06:00
parent 4093ee9c62
commit 0738b80833
2 changed files with 30 additions and 0 deletions

View File

@@ -839,6 +839,8 @@ def _find_bundled_tui(tui_dir: Path) -> Optional[Path]:
def _tui_build_needed(tui_dir: Path) -> bool:
if _hermes_ink_bundle_stale(tui_dir):
return True
entry = tui_dir / "dist" / "entry.js"
if not entry.exists():
return True