<commit_before>var gulp    = require('gulp');
var uglify  = require('gulp-uglify');
var umd     = require('gulp-wrap-umd');
var rename  = require('gulp-rename');
var browser = require('browser-sync').create();


gulp.task( 'dist', function() {
  gulp.src('scrollreveal.js')
    .pipe( umd({ namespace: 'ScrollReveal', exports: 'ScrollReveal' }) )
    .pipe( gulp.dest('dist') )
});

gulp.task( 'dist:minify', function() {
  gulp.src('scrollreveal.js')
    .pipe( umd({ namespace: 'ScrollReveal', exports: 'ScrollReveal' }) )
    .pipe( uglify() )
    .pipe( rename('scrollreveal.min.js') )
    .pipe( gulp.dest('dist') )
})

gulp.task( 'default', function() {
  browser.init({ server: { baseDir: "./dev" } });
  gulp.watch([ 'dev/*.html', '*.js' ]).on( "change", browser.reload );
});

gulp.task( 'build', [ 'dist', 'dist:minify' ]);<commit_msg>gulp(development): update watch<commit_after>var gulp    = require('gulp');
var uglify  = require('gulp-uglify');
var umd     = require('gulp-wrap-umd');
var rename  = require('gulp-rename');
var browser = require('browser-sync').create();


gulp.task( 'dist', function() {
  gulp.src('scrollreveal.js')
    .pipe( umd({ namespace: 'ScrollReveal', exports: 'ScrollReveal' }) )
    .pipe( gulp.dest('dist') )
});

gulp.task( 'dev', function() {
  gulp.src('scrollreveal.js')
    .pipe( gulp.dest('dev') );
});

gulp.task( 'dist:minify', function() {
  gulp.src('scrollreveal.js')
    .pipe( umd({ namespace: 'ScrollReveal', exports: 'ScrollReveal' }) )
    .pipe( uglify() )
    .pipe( rename('scrollreveal.min.js') )
    .pipe( gulp.dest('dist') )
})

gulp.task( 'default', function() {
  browser.init({ server: { baseDir: "./dev" } });
  gulp.watch([ 'scrollreveal.js '], [ 'dev' ])
  gulp.watch([ 'dev/*.*' ]).on( "change", browser.reload );
});

gulp.task( 'build', [ 'dist', 'dist:minify' ]);
{'fraction_non_alphanumeric': 0.23356871265616513, 'fraction_numerical': 0.0, 'mean_word_length': 4.145251396648045, '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': '5845959', 'n_tokens_mistral': 717, 'n_tokens_neox': 703, 'n_words': 130}