Update index.js

In production: fire cb() only after grunt:prod finished.

(fixing for https://github.com/balderdashy/sails/issues/1872)
Merge pull request #1873 from mdunisch/patch-2

Grunt-Hook: Fix #1872