<commit_before><commit_msg>basic gulp live reload to CSS changes<commit_after>/* jshint node: true */
"use strict";

var gulp = require( "gulp" ),
	$ = require( "gulp-load-plugins" )();

/** CSS and preprocessors */
gulp.task( "styles", function() {
	return gulp.src( "src/css/style.css" )
		.pipe( $.autoprefixer( "last 2 version" ) )
        .on( "error", function( e ) {
            console.error( e );
        })
		.pipe( gulp.dest( "src" ) );
});

/** Livereload */
gulp.task( "watch", [ "styles" ], function() {
	var server = $.livereload();

	/** Watch for livereoad */
	gulp.watch([
		"src/js/**/*.js",
		"src/*.php",
		"src/*.css",
	]).on( "change", function( file ) {
		console.log( file.path );
		server.changed( file.path );
	});

	/** Watch for autoprefix */
	gulp.watch( "src/css/*.css", [ "styles" ] );
});
{'fraction_non_alphanumeric': 0.22777101096224117, 'fraction_numerical': 0.001218026796589525, 'mean_word_length': 2.971014492753623, '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': '2164040', 'n_tokens_mistral': 319, 'n_tokens_neox': 307, 'n_words': 70}