<commit_before>import {buildHelper as helper, taskRunner} from "../Container";
const gulp = require("gulp");
const embedlr = require("gulp-embedlr");

export default function CopyIndex() {
    let stream = gulp.src('index.html');
    if (helper.isWatching())
        stream = stream.pipe(embedlr());
    return stream.pipe(gulp.dest(helper.getTempFolder()));
}<commit_msg>Add live reload port to embedlr<commit_after>import {buildHelper as helper, taskRunner} from "../Container";
const gulp = require("gulp");
const embedlr = require("gulp-embedlr");

export default function CopyIndex() {
    let stream = gulp.src('index.html');
    if (helper.isWatching())
        stream = stream.pipe(embedlr({ port: helper.getSettings().liveReloadPort}));
    return stream.pipe(gulp.dest(helper.getTempFolder()));
}
{'fraction_non_alphanumeric': 0.15508684863523572, 'fraction_numerical': 0.0, 'mean_word_length': 4.9338235294117645, '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': '6236935', 'n_tokens_mistral': 239, 'n_tokens_neox': 236, 'n_words': 59}