<commit_before>'use strict';

var path = require('path');
var gulp = require('gulp');
var refresh = require('gulp-livereload');
var sass = require('gulp-sass');
var express = require("express");
var embedlr = require("gulp-embedlr");
var lr = require('tiny-lr');
var server = lr();

gulp.task("sass", function () {
    gulp.src('./scss/*.scss')
        .pipe(sass({includePaths: ['scss/includes']}))
        .pipe(gulp.dest('./css'))
        .pipe(refresh(server));
});

gulp.task('livereload', function () {
    server.listen(35729, function (err) {
        if (err) return console.log(err);
    });
    gulp.src("**/*.html")
        .pipe(embedlr())
        .pipe(gulp.dest("./"));
});

gulp.task("connect", function () {
    var app = express();
    app.use(express.query())
        .use(express.bodyParser())
        .use(express.static(path.resolve('./')))
        .use(express.directory(path.resolve('./')))
        .use(lr.middleware({ app: app }))
        .listen(8080);
});

gulp.task('watch', function () {
    gulp.watch('./scss/**/*.scss', function () {
        gulp.run('sass');
    });
});

gulp.task('default', function () {
    gulp.run('livereload', 'connect', 'watch');
});

<commit_msg>Changed the localhost's port for presenting<commit_after>'use strict';

var path = require('path');
var gulp = require('gulp');
var refresh = require('gulp-livereload');
var sass = require('gulp-sass');
var express = require("express");
var embedlr = require("gulp-embedlr");
var lr = require('tiny-lr');
var server = lr();

gulp.task("sass", function () {
    gulp.src('./scss/*.scss')
        .pipe(sass({includePaths: ['scss/includes']}))
        .pipe(gulp.dest('./css'))
        .pipe(refresh(server));
});

gulp.task('livereload', function () {
    server.listen(35729, function (err) {
        if (err) return console.log(err);
    });
    gulp.src("**/*.html")
        .pipe(embedlr())
        .pipe(gulp.dest("./"));
});

gulp.task("connect", function () {
    var app = express();
    app.use(express.query())
        .use(express.bodyParser())
        .use(express.static(path.resolve('./')))
        .use(express.directory(path.resolve('./')))
        .use(lr.middleware({ app: app }))
        .listen(9000);
});

gulp.task('watch', function () {
    gulp.watch('./scss/**/*.scss', function () {
        gulp.run('sass');
    });
});

gulp.task('default', function () {
    gulp.run('livereload', 'connect', 'watch');
});


{'fraction_non_alphanumeric': 0.23237704918032787, 'fraction_numerical': 0.007377049180327869, 'mean_word_length': 3.123310810810811, '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': '740085', 'n_tokens_mistral': 845, 'n_tokens_neox': 824, 'n_words': 141}