<commit_before>var gulp = require('gulp')
var config = require('../config')
var browserSync = require('./browserSync')

gulp.task('reload', ['cleanDev', 'watch'], function () {
	browserSync.init({
		server: config.dev
	})
})<commit_msg>add browserSync config<commit_after>var gulp = require('gulp')
var utils = require('../utils')
var config = require('../config')
var browserSync = require('./browserSync')

gulp.task('reload', ['cleanDev', 'watch'], function () {
	var options = {
		server: config.dev
	}
	if (config.browserSync && config.browserSync === Object(config.browserSync)) {
		utils.eachObj(config.browserSync, function (v, k) {
			options[k] = v
		})
	}
	browserSync.init(options)
})
{'fraction_non_alphanumeric': 0.1896551724137931, 'fraction_numerical': 0.0, 'mean_word_length': 5.008620689655173, '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': '3713198', 'n_tokens_mistral': 230, 'n_tokens_neox': 224, 'n_words': 49}