Update index.js

In production: fire cb() only after grunt:prod finished.

(fixing for https://github.com/balderdashy/sails/issues/1872)