code: function buildScript(file, watch) {
    var props = {
      entries: [ 'example/_src/jsx/app.js'],
      debug : false,
      transform:  [babelify]
    };
  
    // watchify() if watch requested, otherwise run browserify() once
    var bundler = watch ? watchify(browserify(props)) : browserify(props);
  
  
    function rebundle() {
      var stream = bundler.bundle();
      return stream
        .on('error', handleErrors)
        .pipe(source(file))
        // .pipe(gulp.dest(exampleDir + '/js/'))
        // If you also want to uglify it
        .pipe(buffer())
        // .pipe(uglify())
        .pipe(rename('app.js'))
        .pipe(gulp.dest('example/js/'))
        // .pipe(reload({stream:true}))
    }
  
    // listen for an update and run rebundle
    bundler.on('update', function() {
      rebundle();
      gutil.log('Rebundle...');
    });
  
    // run it once the first time buildScript is called
    return rebundle();
  }
docs: Builds ES6 into ES5 (Specific for searchapp for now)