Skip to content
This repository has been archived by the owner on Oct 28, 2020. It is now read-only.

Commit

Permalink
Merge pull request #82 from pipe-dream/CommandFix
Browse files Browse the repository at this point in the history
npm modules are now installed directly into vendor upon first run
  • Loading branch information
septIO committed Mar 4, 2020
2 parents 9eb964e + 7742b43 commit 852905f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Commands/PipeDreamBuild.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,9 @@ public function handle()

$this->info("Compiling...");
if(!exec("npm run dev --prefix " . __DIR__ . '/../../')){
$this->warning("Something went wrong when compiling.");
$this->info("!!!Something went wrong when compiling!!!");
file_put_contents($appJSPath, $app);
exit(0);
}
$this->info("PipeDream was built successfully, go build something awesome!");
// set app.js back to the template for the next update
Expand Down

0 comments on commit 852905f

Please sign in to comment.