Conditions | 1 |
Paths | 1 |
Total Lines | 14 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
32 | public function fire() |
||
33 | { |
||
34 | chdir($this->laravel->publicPath()); |
||
35 | |||
36 | $host = $this->input->getOption('host'); |
||
37 | |||
38 | $port = $this->input->getOption('port'); |
||
39 | |||
40 | $base = ProcessUtils::escapeArgument($this->laravel->basePath()); |
||
41 | |||
42 | $this->info("Laravel development server started on http://{$host}:{$port}/"); |
||
43 | |||
44 | passthru("php -S {$host}:{$port} {$base}/server.php & node ../nodejs/socket {$host}"); |
||
45 | } |
||
46 | |||
61 |