gotcha
This commit is contained in:
parent
04de9541b7
commit
048b0af34e
|
|
@ -118,7 +118,7 @@ export default () => (
|
||||||
<State status={app.state}>{stateLabels[app.state]}</State>
|
<State status={app.state}>{stateLabels[app.state]}</State>
|
||||||
</AppHeader>
|
</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>}
|
{app.started && <Info>Started: {new Date(app.started).toLocaleString()}</Info>}
|
||||||
|
|
||||||
<ActionBar>
|
<ActionBar>
|
||||||
|
|
|
||||||
|
|
@ -137,6 +137,7 @@ const runApp = async (dir: string, port: number) => {
|
||||||
// Reset to stopped state (or invalid if no longer valid)
|
// Reset to stopped state (or invalid if no longer valid)
|
||||||
app.state = isApp(dir) ? 'stopped' : 'invalid'
|
app.state = isApp(dir) ? 'stopped' : 'invalid'
|
||||||
app.proc = undefined
|
app.proc = undefined
|
||||||
|
app.port = undefined
|
||||||
app.started = undefined
|
app.started = undefined
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user