<commit_before>var gulp = require('gulp'),
    root = require('../config').rootPath,
    argv = require('yargs').argv,
    util = require('gulp-util'),
    browserSync = require('browser-sync').create(),
    reload = browserSync.reload;

// 'gulp serve' should be run on its own bash window.
//   the task will start a server but for it to reload on changes
//   it has to run alongside 'gulp watch', which should also be run
//   from its own bash window.
// note that while running the 'gulp serve' task,
//   the task 'gulp watch --live' (which invokes LiveReload) makes little sense.
//   'gulp serve', by itself, will reload the page.

// serve the application
gulp.task('serve', function() {
    // serve files from the project's root
    browserSync.init({
        server: {
            baseDir: root.templates
        }
    });
    // watch for changes and refresh all bS sessions
    gulp.watch(root.templates + "index.html").on("change", browserSync.reload);
});<commit_msg>Use Chrome when running the server<commit_after>var gulp = require('gulp'),
    root = require('../config').rootPath,
    argv = require('yargs').argv,
    util = require('gulp-util'),
    browserSync = require('browser-sync').create(),
    reload = browserSync.reload;

// 'gulp serve' should be run on its own bash window.
//   the task will start a server but for it to reload on changes
//   it has to run alongside 'gulp watch', which should also be run
//   from its own bash window.
// note that while running the 'gulp serve' task,
//   the task 'gulp watch --live' (which invokes LiveReload) makes little sense.
//   'gulp serve', by itself, will reload the page.

// serve the application
gulp.task('serve', function() {
    // serve files from the project's root
    browserSync.init({
        server: {
            baseDir: root.templates
        },
        browser: "google chrome"
    });
    // watch for changes and refresh all bS sessions
    gulp.watch(root.templates + "index.html").on("change", browserSync.reload);
});
{'fraction_non_alphanumeric': 0.12753336628769155, 'fraction_numerical': 0.0, 'mean_word_length': 2.9148936170212765, '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': '6468623', 'n_tokens_mistral': 585, 'n_tokens_neox': 571, 'n_words': 220}