Run grunt install inside service directory

This commit is contained in:
James Allen 2014-08-19 15:10:50 +01:00
parent 72fc79e48b
commit 7a765fa025

View file

@ -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()