<commit_before>var express = require('express');
var app = express();
const router = express.Router();
const appBaseUrl =  '/merit-badge-university';

if(process.env.NODE_ENV !== 'production'){
    console.log('Starting Development Environment...');

    var webpack = require('webpack');
    var webpackConfig = require('../../webpack.local.config');
    var compiler = webpack(webpackConfig);

    const webpackDevMiddleware = require('webpack-dev-middleware');
    app.use(webpackDevMiddleware(compiler, {
        noInfo: true,
        publicPath: '/',
        stats: {
            colors: true
        },
        historyApiFallback: true
    }));

    const webpackHotMiddleware = require('webpack-hot-middleware');
    app.use(webpackHotMiddleware(compiler));
} else {
    console.log('Starting Production Environment...');
}<commit_msg>- getting hotloading working again!!!<commit_after>var express = require('express');
var app = express();
const router = express.Router();
const appBaseUrl =  '/merit-badge-university';

if(process.env.NODE_ENV !== 'production'){
    console.log('Starting Development Environment...');

    var webpack = require('webpack');
    var webpackConfig = require('../../webpack.local.config');
    var compiler = webpack(webpackConfig);

    const webpackDevMiddleware = require('webpack-dev-middleware');
    app.use(webpackDevMiddleware(compiler, {
        noInfo: true,
        publicPath: appBaseUrl,
        stats: {
            colors: true
        },
        historyApiFallback: true
    }));

    const webpackHotMiddleware = require('webpack-hot-middleware');
    app.use(webpackHotMiddleware(compiler));
} else {
    console.log('Starting Production Environment...');
}
{'fraction_non_alphanumeric': 0.14518950437317785, 'fraction_numerical': 0.0, 'mean_word_length': 3.480417754569191, '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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4970925', 'n_tokens_mistral': 467, 'n_tokens_neox': 464, 'n_words': 97}