module.exports = function()

in tasks/run-mock.js [15:37]


module.exports = function(gulp, config, commandLineArguments) {
  /*
   * `gulp run-mock`
   *  Runs the game on http://localhost:8000/ using the Mock SDK
   *  It won't communicate with Facebook's services,
   *  but it speeds up local development.
   *  Use it for rapid prototyping and for developing game features that
   *  are not connected to the SDK.
   *
   */
  gulp.task(
    'run-mock',
    gulp.series('clean', 'common', 'make', 'replace-sdk', function() {
      gulp.src(config.outputFolder).pipe(
        webserver({
          open: true,
          port: 8000,
          liveReload: true,
        }),
      );
    }),
  );
};