<commit_before>var gulp         = require( 'gulp' );
var watch        = require( 'gulp-watch' );
var sass         = require( 'gulp-sass' );
var cssmin       = require( 'gulp-minify-css' );
var rename       = require( 'gulp-rename' );
var browser_sync = require( 'browser-sync' );
var autoprefixer = require( 'gulp-autoprefixer' );

gulp.task( 'sass', function() {
	return gulp.src( './assets/src/scss/*.scss' )
		.pipe( sass( {
			outputStyle: 'expanded'
		} ) )
		.pipe( autoprefixer( {
			browsers: ['last 2 versions'],
			cascade: false
		} ) )
		.pipe( gulp.dest( './assets/dist/css/' ) )
		.on( 'end', function() {
			gulp.src( ['./assets/dist/css/*.css', '!./assets/dist/css/*.min.css'] )
				.pipe( cssmin() )
				.pipe( rename( { suffix: '.min' } ) )
				.pipe( gulp.dest( './assets/dist/css/' ) );
		} );
} );

gulp.task( 'browsersync', function() {
	browser_sync.init( {
		server: {
			baseDir: "./"
		}
	} );
} );

gulp.task( 'watch', ['sass', 'browsersync'], function() {
	gulp.watch( ['assets/*.scss', 'assets/**/*.scss'], ['sass'] );
	gulp.watch( ['**/*.html', 'assets/dist/css/*.css'], function() {
		browser_sync.reload();
	} );
} );<commit_msg>update gulpfile.js<commit_after>var gulp         = require( 'gulp' );
var watch        = require( 'gulp-watch' );
var sass         = require( 'gulp-sass' );
var cssmin       = require( 'gulp-minify-css' );
var rename       = require( 'gulp-rename' );
var browser_sync = require( 'browser-sync' );
var autoprefixer = require( 'gulp-autoprefixer' );

gulp.task( 'sass', function() {
	return gulp.src( './assets/src/scss/*.scss' )
		.pipe( sass( {
			outputStyle: 'expanded'
		} ) )
		.pipe( autoprefixer( {
			browsers: ['last 2 versions'],
			cascade: false
		} ) )
		.pipe( gulp.dest( './assets/dist/css/' ) )
		.on( 'end', function() {
			gulp.src( ['./assets/dist/css/*.css', '!./assets/dist/css/*.min.css'] )
				.pipe( cssmin() )
				.pipe( rename( { suffix: '.min' } ) )
				.pipe( gulp.dest( './assets/dist/css/' ) );
		} );
} );

gulp.task( 'browsersync', function() {
	browser_sync.init( {
		server: {
			baseDir: "./"
		}
	} );
} );

gulp.task( 'watch', function() {
	gulp.watch( ['assets/*.scss', 'assets/**/*.scss'], ['sass'] );
	gulp.watch( ['**/*.html', 'assets/dist/css/*.css'], function() {
		browser_sync.reload();
	} );
} );

gulp.task( 'build', ['sass'] );

gulp.task( 'default', ['sass', 'browsersync', 'watch'] );
{'fraction_non_alphanumeric': 0.24101921470342522, 'fraction_numerical': 0.000835421888053467, 'mean_word_length': 2.9326765188834156, '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': '2672903', 'n_tokens_mistral': 1015, 'n_tokens_neox': 960, 'n_words': 175}