<commit_before>var gulp = require('gulp');
var browserify = require('gulp-browserify');
var jscs = require('gulp-jscs');
var jshint = require('gulp-jshint');
var stylish = require('jshint-stylish');

gulp.task('default', ['lint', 'style']);

gulp.task('lint', function() {
  gulp.src(['*.js', 'app/**/*.js', 'config/*.js', 'test/*.js'])
    .pipe(jshint({linter: require('jshint-jsx').JSXHINT}))
    .pipe(jshint.reporter(stylish));
});

gulp.task('scripts', function() {
  gulp.src('app/client.js')
    .pipe(browserify({
      debug: true,
      transform: ['reactify']
    }))
    .pipe(gulp.dest('./public/js/'));
});

gulp.task('style', function() {
  gulp.src(['*.js', 'app/controllers/*.js', 'config/*.js', 'test/*.js'])
    .pipe(jscs());
});
<commit_msg>Add gulp watch<commit_after>var gulp = require('gulp');
var browserify = require('gulp-browserify');
var jscs = require('gulp-jscs');
var jshint = require('gulp-jshint');
var stylish = require('jshint-stylish');

gulp.task('lint', function() {
  gulp.src(['*.js', 'app/**/*.js', 'config/*.js', 'test/*.js'])
    .pipe(jshint({linter: require('jshint-jsx').JSXHINT}))
    .pipe(jshint.reporter(stylish));
});

gulp.task('scripts', function() {
  gulp.src('app/client.js')
    .pipe(browserify({
      debug: true,
      transform: ['reactify']
    }))
    .pipe(gulp.dest('./public/js/'));
});

gulp.task('style', function() {
  gulp.src(['*.js', 'app/controllers/*.js', 'config/*.js', 'test/*.js'])
    .pipe(jscs());
});

gulp.task('watch', function() {
  gulp.watch(['app/*.js', 'app/components/*.js'], ['scripts']);
});

gulp.task('default', ['lint', 'style', 'watch']);
{'fraction_non_alphanumeric': 0.2707823960880196, 'fraction_numerical': 0.0, 'mean_word_length': 4.349673202614379, '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': '6831508', 'n_tokens_mistral': 635, 'n_tokens_neox': 634, 'n_words': 94}