Skip to content

Commit

Permalink
Added NPM Rebuild Step!
Browse files Browse the repository at this point in the history
  • Loading branch information
jackhq committed Jan 13, 2012
1 parent 9107ca7 commit cf8c09d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion staging/lib/vcap/staging/plugin/node/plugin.rb
Expand Up @@ -21,7 +21,10 @@ def start_command
private private
def startup_script def startup_script
vars = environment_hash vars = environment_hash
generate_startup_script(vars) generate_startup_script(vars) do
cmds = ['cd app && npm rebuild >>../logs/npm.log 2>> ../logs/npm.log && cd ..;']
cmds.join('\n')
end
end end


# TODO - I'm fairly sure this problem of 'no standard startup command' is # TODO - I'm fairly sure this problem of 'no standard startup command' is
Expand Down

0 comments on commit cf8c09d

Please sign in to comment.