<commit_before>'use strict';

//////////////////////////////
// Requires
//////////////////////////////
var gutil = require('gulp-util'),
    browserSync = require('browser-sync'),
    reload = browserSync.reload;

//////////////////////////////
// Internal Vars
//////////////////////////////
var toServer = [
  './'
];

//////////////////////////////
// Export
//////////////////////////////
module.exports = function (gulp, serverPaths) {
  // Set value of paths to either the default or user entered
  serverPaths = serverPaths || toServer;

  //////////////////////////////
  // Encapsulate task in function to choose path to work on
  //////////////////////////////
  var serverTask = function (path) {
    return browserSync({
      server: {
        baseDir: path
      }
    });
    // return gulp.src(serverPaths)
    //   .pipe(reload({stream: true}));
  }

  //////////////////////////////
  // Core Task
  //////////////////////////////
  gulp.task('broswer-sync', function () {
    return serverTask(serverPaths);
  });

  //////////////////////////////
  // Full Server Task
  //////////////////////////////
  gulp.task('server', ['browser-sync', 'watch']);
  gulp.task('serve', ['server']);
}<commit_msg>Bad spelling<commit_after>'use strict';

//////////////////////////////
// Requires
//////////////////////////////
var gutil = require('gulp-util'),
    browserSync = require('browser-sync'),
    reload = browserSync.reload;

//////////////////////////////
// Internal Vars
//////////////////////////////
var toServer = [
  './'
];

//////////////////////////////
// Export
//////////////////////////////
module.exports = function (gulp, serverPaths) {
  // Set value of paths to either the default or user entered
  serverPaths = serverPaths || toServer;

  //////////////////////////////
  // Encapsulate task in function to choose path to work on
  //////////////////////////////
  var serverTask = function (path) {
    return browserSync({
      server: {
        baseDir: path
      }
    });
    // return gulp.src(serverPaths)
    //   .pipe(reload({stream: true}));
  }

  //////////////////////////////
  // Core Task
  //////////////////////////////
  gulp.task('browser-sync', function () {
    return serverTask(serverPaths);
  });

  //////////////////////////////
  // Full Server Task
  //////////////////////////////
  gulp.task('server', ['browser-sync', 'watch']);
  gulp.task('serve', ['server']);
}
{'fraction_non_alphanumeric': 0.3993439934399344, 'fraction_numerical': 0.0, 'mean_word_length': 1.050420168067227, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4775384', 'n_tokens_mistral': 584, 'n_tokens_neox': 571, 'n_words': 141}