<commit_before>var gulp = require('gulp');
var browserify = require('browserify');
var source = require('vinyl-source-stream');
var imagemin = require('gulp-imagemin');

gulp.task('scripts', function () {
  return browserify('./js/main.js')
    .bundle()
    .pipe(source('bundle.js'))
    .pipe(gulp.dest('./build/js'));
});

gulp.task('css', function () {
  return gulp.src('./css/**/*.css')
    .pipe(gulp.dest('./build/css'));
});

gulp.task('html', function () {
  return gulp.src('./*.html')
    .pipe(gulp.dest('./build'));
});

gulp.task('images', function () {
  return gulp.src('./public/images/**/*')
    .pipe(imagemin())
    .pipe(gulp.dest('./build/public/images'))
});

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

gulp.task('default', ['scripts', 'css', 'html', 'images', 'watch']);<commit_msg>Fiz paths to properly watch css and js files<commit_after>var gulp = require('gulp');
var browserify = require('browserify');
var source = require('vinyl-source-stream');
var imagemin = require('gulp-imagemin');

gulp.task('scripts', function () {
  return browserify('./js/main.js')
    .bundle()
    .pipe(source('bundle.js'))
    .pipe(gulp.dest('./build/js'));
});

gulp.task('css', function () {
  return gulp.src('./css/**/*.css')
    .pipe(gulp.dest('./build/css'));
});

gulp.task('html', function () {
  return gulp.src('./*.html')
    .pipe(gulp.dest('./build'));
});

gulp.task('images', function () {
  return gulp.src('./public/images/**/*')
    .pipe(imagemin())
    .pipe(gulp.dest('./build/public/images'))
});

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

gulp.task('default', ['scripts', 'css', 'html', 'images', 'watch']);
{'fraction_non_alphanumeric': 0.2806451612903226, 'fraction_numerical': 0.0, 'mean_word_length': 4.0161725067385445, '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': '3973977', 'n_tokens_mistral': 658, 'n_tokens_neox': 649, 'n_words': 105}