<commit_before>'use strict';

var gulp = require('gulp');
var fs = require('fs');
var app = require(__dirname + '/../app');

/* ==============================================
    Register tasks
============================================== */

var tasks = fs.readdirSync(__dirname + '/tasks/');

tasks.forEach(function(task) {
    var taskname = task.split('.')[0];
    gulp.task(taskname, require('./tasks/' + taskname));
});

/* ==============================================
    Default task
============================================== */

gulp.task('default', ['server', 'browserSync', 'sprite', 'base64', 'styles', 'js', 'html'], function() {
    gulp.watch('src/styles/**/*.styl', ['styles']);
    gulp.watch('src/images/sprite/*.png', ['sprite']);
    gulp.watch('src/images/inline/*.png', ['base64']);
    gulp.watch(['src/js/**/*.js', '!public/js/app.js'], ['js']);
    gulp.watch('src/html/**/*.html', ['html']);
});<commit_msg>* added 'images' task for copy images to path<commit_after>'use strict';

var gulp = require('gulp');
var fs = require('fs');
var app = require(__dirname + '/../app');

/* ==============================================
    Register tasks
============================================== */

var tasks = fs.readdirSync(__dirname + '/tasks/');

tasks.forEach(function(task) {
    var taskname = task.split('.')[0];
    gulp.task(taskname, require('./tasks/' + taskname));
});

/* ==============================================
    Default task
============================================== */

gulp.task('default', ['server', 'browserSync', 'sprite', 'base64', 'styles', 'js', 'images', 'html'], function () {
    gulp.watch('src/styles/**/*.styl', ['styles']);
    gulp.watch('src/images/sprite/*.*', ['sprite']);
    gulp.watch('src/images/inline/*.*', ['base64']);
    gulp.watch(['src/images/**/*.*', '!src/images/sprite/*.*', '!src/images/inline/*.*'], ['images']);
    gulp.watch(['src/js/**/*.js', '!public/js/app.js'], ['js']);
    gulp.watch('src/html/**/*.html', ['html']);
});
{'fraction_non_alphanumeric': 0.41016781836130306, 'fraction_numerical': 0.004935834155972359, 'mean_word_length': 4.926900584795321, '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': '1717667', 'n_tokens_mistral': 622, 'n_tokens_neox': 601, 'n_words': 107}