diff --git a/packages/framework/src/Console/Commands/ServeCommand.php b/packages/framework/src/Console/Commands/ServeCommand.php
index 05cd0bda116..149dc2ad7c9 100644
--- a/packages/framework/src/Console/Commands/ServeCommand.php
+++ b/packages/framework/src/Console/Commands/ServeCommand.php
@@ -20,7 +20,7 @@
class ServeCommand extends Command
{
/** @var string */
- protected $signature = 'serve {--host= : [default: "localhost"]}} {--port= : [default: 8080]} {--fancy= : [default: true]}';
+ protected $signature = 'serve {--host= : [default: "localhost"]}} {--port= : [default: 8080]}';
/** @var string */
protected $description = 'Start the realtime compiler server.';
@@ -57,13 +57,13 @@ protected function getExecutablePath(): string
protected function runServerProcess(string $command): void
{
Process::forever()->run($command, function (string $type, string $line): void {
- $this->option('fancy') ? $this->handleOutput($line) : $this->output->write($line);
+ $this->option('no-ansi') ? $this->output->write($line) : $this->handleOutput($line);
});
}
protected function printStartMessage(): void
{
- if ($this->option('fancy')) {
+ if ($this->option('no-ansi')) {
$this->line('Starting the HydeRC server... Press Ctrl+C to stop');
} else {
$title = 'HydePHP Realtime Compiler';