<commit_before>const path = require('path');
const webpack = require('webpack');
const autoprefixer = require('autoprefixer');
const ExtractTextPlugin = require('extract-text-webpack-plugin');
const eslintFriendlyFormatter = require('eslint-friendly-formatter');

const version = require('./package.json').version;
const join = path.join.bind(path, __dirname);

const sources = ['src', 'test'].map(dir => join(dir));

module.exports = {
    devtool: 'eval-cheap-module-source-map',
    entry: [
        'webpack-dev-server/client?http://localhost:3000',
        './test/scripts/index.js',
    ],
    output: {
        path: join('build'),
        filename: 'app.js',
        publicPath: '/build/',
    },
    resolve: {
        extensions: ['', '.js', '.styl'],
    },
    resolveLoader: {
        alias: {
            'export-all': join('./helpers/export-all-loader.js'),
        },
    },
    module: {<commit_msg>fix(webpack): fix dev server auto reload<commit_after>const ip = require('ip');
const path = require('path');
const webpack = require('webpack');
const autoprefixer = require('autoprefixer');
const ExtractTextPlugin = require('extract-text-webpack-plugin');
const eslintFriendlyFormatter = require('eslint-friendly-formatter');

const version = require('./package.json').version;
const join = path.join.bind(path, __dirname);

const sources = ['src', 'test'].map(dir => join(dir));

module.exports = {
    devtool: 'eval-cheap-module-source-map',
    entry: [
        `webpack-dev-server/client?http://${ip.address()}:3000`,
        './test/scripts/index.js',
    ],
    output: {
        path: join('build'),
        filename: 'app.js',
        publicPath: '/build/',
    },
    resolve: {
        extensions: ['', '.js', '.styl'],
    },
    resolveLoader: {
        alias: {
            'export-all': join('./helpers/export-all-loader.js'),
        },
    },
    module: {
{'fraction_non_alphanumeric': 0.1866737176097303, 'fraction_numerical': 0.004230565838180857, 'mean_word_length': 3.0341151385927505, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '6399598', 'n_tokens_mistral': 580, 'n_tokens_neox': 576, 'n_words': 106}