diff --git a/build/api/module/dev.php b/build/api/module/dev.php index 33943f0..19fc4b2 100644 --- a/build/api/module/dev.php +++ b/build/api/module/dev.php @@ -29,11 +29,11 @@ class dev{ extract($argv); \chdir(__ROOT__); - \exec("git pull origin master", $stdout); + \exec("git pull origin master", $out_pull); \exec("npm update"); - \exec("npm run build"); + \exec("npm run build", $out_npm); - return [ 'stdout' => $stdout]; + return [ 'stdout' => [ $out_pull, $out_update ] ]; } }