Separate process args

This commit is contained in:
Miguel Nogueira 2020-07-09 05:20:16 +01:00
parent 016ce1fbf6
commit 7c7d4a306c
1 changed files with 2 additions and 3 deletions

View File

@ -56,9 +56,8 @@ class Install extends Command
// Command stack
$composer = new Process('composer install', $basePath);
$npm = new Process('npm install', $basePath);
$npmBuild = new Process('npm run dev', $basePath);
$npm = new Process(['npm', 'install'], $basePath);
$npmBuild = new Process(['npm', 'run dev'], $basePath);
$this->info('>> Installing and preparing dependencies. This may take a while, depending on your computer.');