lib/gulp/index.js
function (cb) {

      sails.log.verbose('Loading app Gulpfile...');

      // Start task depending on environment
      if(sails.config.environment === 'production'){
        return this.runTask('prod', cb);
      }

      this.runTask('default', cb);
    }
function (cb) {

      sails.log.verbose('Loading app Gulpfile...');

      // Start task depending on environment
      if(sails.config.environment === 'production'){
        return this.runTask('prod', cb);
      }

      this.runTask('default', cb);
    }
function ( cb ) { sails . log . verbose ( 'Loading app Gulpfile...' ) ; // Start task depending on environment if ( sails . config . environment === 'production' ) { return this . runTask ( 'prod' , cb ) ; } this . runTask ( 'default' , cb ) ; }
Initialize this project's Grunt tasks
and execute the environment-specific gulpfile
Initialize this project s Grunt tasks and execute the environment - specific gulpfile