mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Run grunt install inside service directory
This commit is contained in:
parent
75f45401c1
commit
01ca16fd59
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