<commit_before>/**
 * @author AnnatarHe
 * @email <EMAIL>
 * @date 2016.10.20
 */

const config = require('./webpack.base.config')

config.devtool = 'eval'

config.devServer = {
    hot: true,
    inline: true,
    hisoryApiFallback: {
        index: '/'
    },
    proxy: {
        '/api/*': {
            target: 'http://127.0.0.1:9999',
            secure: false
        }
    }
}<commit_msg>add hot reload<commit_after>/**
 * @author AnnatarHe
 * @email <EMAIL>
 * @date 2016.10.20
 */

const webpack = require('webpack')
const config = require('./webpack.base.config')

config.devtool = 'eval'
config.plugins.push(new webpack.HotModuleReplacementPlugin())

config.devServer = {
    historyApiFallback: true,
    proxy: {
        '/api/*': {
            target: 'http://127.0.0.1:9999',
            secure: false
        }
    }
}
{'fraction_non_alphanumeric': 0.17026378896882494, 'fraction_numerical': 0.04316546762589928, 'mean_word_length': 2.2364341085271318, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '5688788', 'n_tokens_mistral': 307, 'n_tokens_neox': 282, 'n_words': 53}