<commit_before>var gulp = require('gulp'),
  jshint = require('gulp-jshint'),
  mocha = require('gulp-mocha'),
  plumber = require('gulp-plumber');

gulp.task('jshint', function () {
  return gulp.src(['index.js', 'lib/**/*.js', 'test/**/*.js'])
    .pipe(jshint())
    .pipe(jshint.reporter('jshint-stylish'));
});

gulp.task('mocha', function () {
  return gulp.src(['test/**/*.js'])
    .pipe(plumber())
    .pipe(mocha({reporter: 'Spec'}));
});

gulp.task('watch', function() {
  gulp.watch(['./**/*.js'], ['jshint', 'mocha']);
  gulp.watch(['.jshintrc'], ['jshint']);
});

gulp.task('test', ['jshint', 'mocha']);
gulp.task('default', ['test', 'watch']);<commit_msg>Fixed overambitious file watch in gulp<commit_after>var gulp = require('gulp'),
  jshint = require('gulp-jshint'),
  mocha = require('gulp-mocha'),
  plumber = require('gulp-plumber');

gulp.task('jshint', function () {
  return gulp.src(['index.js', 'lib/**/*.js', 'test/**/*.js'])
    .pipe(jshint())
    .pipe(jshint.reporter('jshint-stylish'));
});

gulp.task('mocha', function () {
  return gulp.src(['test/**/*.js'])
    .pipe(plumber())
    .pipe(mocha({reporter: 'Spec'}));
});

gulp.task('watch', function() {
  gulp.watch(['./**/*.js', '!./node_modules/**/*'], ['jshint', 'mocha']);
  gulp.watch(['.jshintrc'], ['jshint']);
});

gulp.task('test', ['jshint', 'mocha']);
gulp.task('default', ['test', 'watch']);
{'fraction_non_alphanumeric': 0.29301655867530596, 'fraction_numerical': 0.0, 'mean_word_length': 4.767634854771784, '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': '1485687', 'n_tokens_mistral': 561, 'n_tokens_neox': 553, 'n_words': 79}