Skip to content

Commit

Permalink
feat: more logs to know which step is hanging
Browse files Browse the repository at this point in the history
  • Loading branch information
SRWieZ committed Jan 14, 2025
1 parent 0397834 commit c00500f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Commands/BuildCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,15 @@ public function handle(): void

$this->setAppName(slugify: true);

$this->line('Updating npm packages…');
Process::path(__DIR__.'/../../resources/js/')
->env($this->getEnvironmentVariables())
->forever()
->run('npm update', function (string $type, string $output) {
echo $output;
});

$this->line('Removing composer dev dependencies…');
Process::path(base_path())
->run('composer install --no-dev', function (string $type, string $output) {
echo $output;
Expand Down

0 comments on commit c00500f

Please sign in to comment.