forked from miguel456/rbrecruiter
Add forgotten output for commands
This commit is contained in:
parent
00f37d3f7e
commit
96298cd38c
|
@ -55,10 +55,13 @@ class Install extends Command
|
|||
$this->info('>> Installing and preparing dependencies. This may take a while, depending on your computer.');
|
||||
|
||||
$npmOut = 0;
|
||||
$npmBuildOut = 0;
|
||||
$npmMessages = [];
|
||||
|
||||
exec('cd ' . $basePath . ' && npm install', null, $npmOut);
|
||||
exec('cd ' . $basePath . '&& npm run dev', null, $npmBuildOut);
|
||||
$npmBuildOut = 0;
|
||||
$npmBuildMessages = [];
|
||||
|
||||
exec('cd ' . $basePath . ' && npm install', $npmBuildOut, $npmOut);
|
||||
exec('cd ' . $basePath . '&& npm run dev', $npmBuildMessages, $npmBuildOut);
|
||||
|
||||
|
||||
if($npmOut !== 0 && $npmBuildOut !== 0)
|
||||
|
|
Loading…
Reference in New Issue