Merge pull request #15351 from helix4u/fix/tui-rebuild-missing-ink-bundle

fix(tui): rebuild when ink bundle is missing
This commit is contained in:
brooklyn!
2026-04-25 13:14:23 -05:00
committed by GitHub
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