diff --git a/server-ce/Gruntfile.coffee b/server-ce/Gruntfile.coffee index d17eeaac35..38885c6cc3 100644 --- a/server-ce/Gruntfile.coffee +++ b/server-ce/Gruntfile.coffee @@ -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()