fix: api.module.dev (managed output)
This commit is contained in:
parent
1c34b59231
commit
d824ae38f0
|
@ -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 ] ];
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue