[cliDevMode] set server ready status to false when restarting (#97575)

Co-authored-by: spalger <spalger@users.noreply.github.com>
This commit is contained in:
Spencer 2021-04-20 10:19:58 -07:00 committed by GitHub
parent 538a6c0eb4
commit 39894c58bc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -146,6 +146,7 @@ export class DevServer {
const runServer = () =>
usingServerProcess(this.script, this.argv, (proc) => {
this.phase$.next('starting');
this.ready$.next(false);
// observable which emits devServer states containing lines
// logged to stdout/stderr, completes when stdio streams complete