<commit_before>'use strict';

var gulp = require('gulp'),
    config = require('../config'),
    bs = require('browser-sync').get('SIM01');

module.exports = function() {
    gulp.watch(config.watch.styles, ['build:css']);
    gulp.watch(config.watch.scripts, ['build:js']);
    gulp.watch(config.watch.images, ['build:images']);
    gulp.watch(config.watch.code, ['build:i18n']);
    gulp.watch(config.watch.root).on('change', bs.reload);
};<commit_msg>Refresh BrowserSync if something changes.<commit_after>'use strict';

var gulp = require('gulp'),
    config = require('../config'),
    bs = require('browser-sync').get('SIM01');

module.exports = function() {
    gulp.watch(config.watch.styles, ['build:css']);
    gulp.watch(config.watch.scripts, ['build:js']);
    gulp.watch(config.watch.images, ['build:images']);
    gulp.watch(config.watch.code, ['build:i18n']);
    gulp.watch([
        config.watch.styles,
        config.watch.scripts,
        config.watch.images,
        config.watch.code
    ]).on('change', bs.reload);
};
{'fraction_non_alphanumeric': 0.20576923076923076, 'fraction_numerical': 0.007692307692307693, 'mean_word_length': 3.933649289099526, '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': '1403609', 'n_tokens_mistral': 350, 'n_tokens_neox': 337, 'n_words': 51}