Skip to content

localghost v4.0.1

Choose a tag to compare

@SmileyChris SmileyChris released this 08 Oct 21:33
· 45 commits to main since this release

Localghost 4.0.1 stops the hub routing to detached apps that have already stopped.

  • No more stale routes. A detached app that crashed or exited, or every one after a reboot, left its bridge running, so its hostname answered 502 and the welcome page showed it as running. sessions, status, run, restart and hub up now remove those routes, all at once, and say so: "Removing route for NAME, which stopped outside localghost…". The session record and its log are kept.
  • Missing directories are flagged. sessions and status mark a remembered project whose directory no longer exists with (missing), and sessions list --json gains directory_exists. Nothing is forgotten automatically; sessions forget NAME drops a project.
uvx --refresh localghost --version