Move commands and run them always

This commit is contained in:
DariusIII
2024-05-15 18:51:04 +02:00
parent 6fe296beda
commit eb107f59a5
+4 -4
View File
@@ -58,11 +58,11 @@ class UpdateNNTmux extends Command
if ($fail) {
$this->error('Db updating failed!!');
}
// Install npm packages
Process::run('npm install')->output();
// Run npm build
Process::run('npm run build')->output();
}
// Install npm packages
Process::run('npm install')->output();
// Run npm build
Process::run('npm run build')->output();
} catch (\Exception $e) {
$this->error($e->getMessage());
}