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