10000 [FrameworkBundle] improve server:run feedback · xabbuh/symfony@264c37a · GitHub
[go: up one dir, main page]

Skip to content

Commit 264c37a

Browse files
committed
[FrameworkBundle] improve server:run feedback
In symfony#12253, improved feedback was added to the `server:run` command instructing the user how to terminate the built-in web server. This is hereby backported to the `2.3` branch.
1 parent 8487ef2 commit 264c37a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Symfony/Bundle/FrameworkBundle/Command/ServerRunCommand.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
110110
$router = realpath($router);
111111

112112
$output->writeln(sprintf("Server running on <info>http://%s</info>\n", $input->getArgument('address')));
113+
$output->writeln('Quit the server with CONTROL-C.');
113114

114115
$builder = new ProcessBuilder(array(PHP_BINARY, '-S', $input->getArgument('address'), $router));
115116
$builder->setWorkingDirectory($documentRoot);

0 commit comments

Comments
 (0)
0