mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-25 15:40:58 +00:00
Run grunt install inside service directory
This commit is contained in:
parent
72fc79e48b
commit
7a765fa025
1 changed files with 2 additions and 1 deletions
|
@ -241,7 +241,8 @@ module.exports = (grunt) ->
|
|||
grunt.log.writeln "Config file already exists. Skipping."
|
||||
callback()
|
||||
|
||||
runGruntInstall: (dir, callback = (error) ->) ->
|
||||
runGruntInstall: (service, callback = (error) ->) ->
|
||||
dir = service.name
|
||||
proc = spawn "grunt", ["install"], stdio: "inherit", cwd: dir
|
||||
proc.on "close", () ->
|
||||
callback()
|
||||
|
|
Loading…
Reference in a new issue