<commit_before>import {SRC,DIST,PORT} from './constants';
import path from 'path';
import express from 'express';
import webpack from 'webpack';
import config from './webpack.config';
import open from 'open';

const app = express();
const compiler = webpack(config);

app.use(require('webpack-dev-middleware')(compiler, {
    contentBase: DIST,
    hot: true,
    inline: true,
    compress: true,
    noInfo: false,
    stats: { colors: true }
}));
app.use(require('webpack-hot-middleware')(compiler));

app.get('*', function(req, res) {
    res.sendFile(path.join(__dirname, './app/index.pug'));
});

app.listen(PORT, 'localhost', function(err) {
    if (err) {
        console.log(err);<commit_msg>git test<commit_after>import {SRC,DIST,PORT} from './constants';
import path from 'path';
import express from 'express';
import webpack from 'webpack';
import config from './webpack.config';
import open from 'open';

const app = express();
const compiler = webpack(config);

app.use(require('webpack-dev-middleware')(compiler, {
    contentBase: DIST,
    hot: true,
    inline: true,
    compress: true,
    noInfo: false, 
    stats: { colors: true }
}));
app.use(require('webpack-hot-middleware')(compiler));

app.get('*', function(req, res) {
    res.sendFile(path.join(__dirname, './app/index.pug'));
});

app.listen(PORT, 'localhost', function(err) {
    if (err) {
        console.log(err);
{'fraction_non_alphanumeric': 0.17453505007153075, 'fraction_numerical': 0.0, 'mean_word_length': 4.360153256704981, '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': '4780189', 'n_tokens_mistral': 453, 'n_tokens_neox': 449, 'n_words': 112}