8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4d89b47 + c86f25b commit 738d842Copy full SHA for 738d842
commands/local_server_start.go
@@ -413,15 +413,16 @@ var localServerStartCmd = &console.Command{
413
case <-shutdownCh:
414
terminal.Eprintln("")
415
terminal.Eprintln("Shutting down! Waiting for all workers to be done.")
416
- if err := waitForWorkers(projectDir, pidFile); err != nil {
417
- return err
418
- }
419
- terminal.Eprintln("")
+ err := waitForWorkers(projectDir, pidFile)
420
// wait for the PHP Server to be done cleaning up
421
if p.PHPServer != nil {
422
<-p.PHPServer.StoppedChan
423
}
424
pidFile.CleanupDirectories()
+ if err != nil {
+ return err
+ }
425
+ terminal.Eprintln("")
426
ui.Success("Stopped all processes successfully")
427
428
return nil
0 commit comments