Skip to content

Commit

Permalink
Merge pull request #531 from humanmade/restart-url
Browse files Browse the repository at this point in the history
Display site URL after restarting
  • Loading branch information
kovshenin authored Feb 8, 2023
2 parents 7992a9f + ac85d36 commit 3ea35b8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions inc/composer/class-command.php
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,9 @@ protected function restart( InputInterface $input, OutputInterface $output ) {
} );

if ( $return_val === 0 ) {
$site_url = $this->get_project_url();
$output->writeln( '<info>Restarted.</>' );
$output->writeln( '<info>To access your site visit:</> <comment>' . $site_url . '</>' );
} else {
$output->writeln( '<error>Failed to restart services.</>' );
}
Expand Down

0 comments on commit 3ea35b8

Please sign in to comment.