This commit is contained in:
Chris Wanstrath 2026-01-27 21:20:01 -08:00
parent 04de9541b7
commit 048b0af34e
2 changed files with 2 additions and 1 deletions

View File

@ -118,7 +118,7 @@ export default () => (
<State status={app.state}>{stateLabels[app.state]}</State>
</AppHeader>
{app.port && <Info>Port: {app.port}</Info>}
{app.port ? <Info>Port: {app.port}</Info> : null}
{app.started && <Info>Started: {new Date(app.started).toLocaleString()}</Info>}
<ActionBar>

View File

@ -137,6 +137,7 @@ const runApp = async (dir: string, port: number) => {
// Reset to stopped state (or invalid if no longer valid)
app.state = isApp(dir) ? 'stopped' : 'invalid'
app.proc = undefined
app.port = undefined
app.started = undefined
})
}