<commit_before>/*
 * @name@
 *
 * Copyright(c) 2014 @your name@ <@your email address@>
 * MIT Licensed
 *
 */

/**
 * @author @your name@ <@your email address@>
 *
 */

'use strict';

var gulp = require('gulp');
var connect = require('gulp-connect');
var watch = require('gulp-watch');
var jshint = require('gulp-jshint');

/**
 * Lints your javascript files.
 *
 */
gulp.task('lint', function () {
	return gulp.src('./app/scripts/{!(vendor)/**/*.js,*.js}')
        .pipe(jshint())
        .pipe(jshint.reporter('default'));
});

/**
 * Starts a development server.
 *
 */
gulp.task('dev:server', function () {
	return connect.server({
		root: 'app',
		port: 8080,
		livereload: true
	});
});

/**
 * Observes your javascript files for changes,
 * reloads the changes in the browser.
 *
 */
gulp.task('dev:observe:javascript', function () {
	var watchables = 'app/scripts/**/*.js';

	function onChange (files) {
		return files
		    .pipe(connect.reload());
	}

	return gulp.src(watchables)
		.pipe(watch(onChange));
		
});

/**
 * Observes your templates for changes and
 * reloads the changes in the browser.
 *
 */
gulp.task('dev:observe:templates', function () {
	var watchables = 'app/templates/**/*.html';

	function onChange (files) {
		return files.pipe(connect.reload());
	}

	return gulp.src(watchables)
		.pipe(watch(onChange));<commit_msg>Fixed glob so that all HTML files within the root will also be observed.<commit_after>/*
 * @name@
 *
 * Copyright(c) 2014 @your name@ <@your email address@>
 * MIT Licensed
 *
 */

/**
 * @author @your name@ <@your email address@>
 *
 */

'use strict';

var gulp = require('gulp');
var connect = require('gulp-connect');
var watch = require('gulp-watch');
var jshint = require('gulp-jshint');

/**
 * Lints your javascript files.
 *
 */
gulp.task('lint', function () {
	return gulp.src('./app/scripts/{!(vendor)/**/*.js,*.js}')
        .pipe(jshint())
        .pipe(jshint.reporter('default'));
});

/**
 * Starts a development server.
 *
 */
gulp.task('dev:server', function () {
	return connect.server({
		root: 'app',
		port: 8080,
		livereload: true
	});
});

/**
 * Observes your javascript files for changes,
 * reloads the changes in the browser.
 *
 */
gulp.task('dev:observe:javascript', function () {
	var watchables = 'app/scripts/**/*.js';

	function onChange (files) {
		return files
		    .pipe(connect.reload());
	}

	return gulp.src(watchables)
		.pipe(watch(onChange));
		
});

/**
 * Observes your templates for changes and
 * reloads the changes in the browser.
 *
 */
gulp.task('dev:observe:templates', function () {
	var watchables = 'app/{*.html,templates/**/*.html}';

	function onChange (files) {
		return files.pipe(connect.reload());
	}

	return gulp.src(watchables)
		.pipe(watch(onChange));
{'fraction_non_alphanumeric': 0.1891696750902527, 'fraction_numerical': 0.005776173285198556, 'mean_word_length': 3.6337792642140467, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '661703', 'n_tokens_mistral': 992, 'n_tokens_neox': 939, 'n_words': 224}