Webpack React Hot Loading not working for files in sub folders
问题 Webpack hot reloading is working only for the files in the specified folder 'react-frontend', but not for files in subfolders of that folder. The strange thing is that it was working before I recently reset my machine from Ubuntu to Debian. I guess npm has installed slightly different versions on this new system. Any idea? var path = require('path'); var webpack = require('webpack'); publicPath = 'http://localhost:3000/'; module.exports = { devtool: 'eval', node: { fs: 'empty' }, entry: {