<commit_before>var gulp = require('gulp');

var browserSync = require('browser-sync');
var cleancss = require('gulp-clean-css');
var shell = require('gulp-shell');
var include = require('gulp-include');
var jshint = require('gulp-jshint');
var rename = require('gulp-rename');
var runSequence = require('run-sequence');
var sass = require('gulp-sass');
var uglify = require('gulp-uglify');

gulp.task('browser-sync', function () {
  return browserSync.init({
    startPath: 'run',
    server: {
      baseDir: './'
    },
    port: 3000
  });
});

gulp.task('browser-sync:nobrowser', function () {
  return browserSync.init({
    startPath: 'run',
    server: {
      baseDir: './'
    },
    open: false,
    port: 3000
  });
});

gulp.task('bundlejs', function () {
  return gulp.src('src/js/_main.js')
    .pipe(include())
      .on('error', console.log)<commit_msg>Disable browserSync ghostMode<commit_after>var gulp = require('gulp');

var browserSync = require('browser-sync');
var cleancss = require('gulp-clean-css');
var shell = require('gulp-shell');
var include = require('gulp-include');
var jshint = require('gulp-jshint');
var rename = require('gulp-rename');
var runSequence = require('run-sequence');
var sass = require('gulp-sass');
var uglify = require('gulp-uglify');

gulp.task('browser-sync', function () {
  return browserSync.init({
    startPath: 'run',
    server: {
      baseDir: './'
    },
    port: 3000,
    ghostMode: false
  });
});

gulp.task('browser-sync:nobrowser', function () {
  return browserSync.init({
    startPath: 'run',
    server: {
      baseDir: './'
    },
    open: false,
    port: 3000
  });
});

gulp.task('bundlejs', function () {
  return gulp.src('src/js/_main.js')
    .pipe(include())
      .on('error', console.log)
{'fraction_non_alphanumeric': 0.19031531531531531, 'fraction_numerical': 0.009009009009009009, 'mean_word_length': 3.713527851458886, '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': '3979364', 'n_tokens_mistral': 624, 'n_tokens_neox': 607, 'n_words': 121}