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.');
|
$this->info('>> Installing and preparing dependencies. This may take a while, depending on your computer.');
|
||||||
|
|
||||||
$npmOut = 0;
|
$npmOut = 0;
|
||||||
$npmBuildOut = 0;
|
$npmMessages = [];
|
||||||
|
|
||||||
exec('cd ' . $basePath . ' && npm install', null, $npmOut);
|
$npmBuildOut = 0;
|
||||||
exec('cd ' . $basePath . '&& npm run dev', null, $npmBuildOut);
|
$npmBuildMessages = [];
|
||||||
|
|
||||||
|
exec('cd ' . $basePath . ' && npm install', $npmBuildOut, $npmOut);
|
||||||
|
exec('cd ' . $basePath . '&& npm run dev', $npmBuildMessages, $npmBuildOut);
|
||||||
|
|
||||||
|
|
||||||
if($npmOut !== 0 && $npmBuildOut !== 0)
|
if($npmOut !== 0 && $npmBuildOut !== 0)
|
||||||
|
|
Loading…
Reference in New Issue