From 1bc63725c95d9d2ccfc11ce647037156dcfc13ab Mon Sep 17 00:00:00 2001 From: Miguel Nogueira Date: Thu, 9 Jul 2020 05:27:33 +0100 Subject: [PATCH] Silence npm WARN output (when applicable) --- app/Console/Commands/Install.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Console/Commands/Install.php b/app/Console/Commands/Install.php index 60c5017..c4c8044 100644 --- a/app/Console/Commands/Install.php +++ b/app/Console/Commands/Install.php @@ -56,8 +56,8 @@ class Install extends Command // Command stack - $npm = new Process(['npm install', ''], $basePath); - $npmBuild = new Process(['npm run dev', ''], $basePath); + $npm = new Process(['npm install', '--silent'], $basePath); + $npmBuild = new Process(['npm run dev', '--silent'], $basePath); $this->info('>> Installing and preparing dependencies. This may take a while, depending on your computer.');