fix: api.module.dev (added npm management)

This commit is contained in:
xdrm-brackets 2017-12-07 17:14:44 +01:00
parent 29cb835400
commit 1c34b59231
1 changed files with 4 additions and 1 deletions

View File

@ -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];
}
}