title: Webpack dev server not reloading
body: <p>Suddenly webpack-dev-server is not reloading upon changes in the sources any more. HRM is loaded correctly, but changing the source code does not trigger a hot reload any more. Previously it was working fine.</p>
  
  <p>I found multiple people were asking in Stackoverflow about the same problem. Each of them was solved with a different solution, what I tried but none of them worked for me. Therefore this is not a duplicated question since I tried the already provided solution but none worked for me.</p>
  
  <p>I tried clean the packages and reinstall all of them
  I tried to use different paths into the "entry" of webpack configuration</p>
  
  <p><code>webpack.config.js</code>:</p>
  
  <pre><code>var path = require('path');
  const HtmlWebpackPlugin = require('html-webpack-plugin')
  const CopyWebpackPlugin = require('copy-webpack-plugin')
  
  const webpack = require('webpack')
  
  module.exports = {
    mode: 'development',
    entry: './src/index.tsx',
    resolve: {
        extensions: [".ts", ".tsx", ".js"]
      },
    output: {
      path: path.resolve(__dirname, 'dist'),
      filename: 'app.bundle.js'
    },
  
      plugins: [
            new HtmlWebpackPlugin({
              title: "test app",
              filename: "./index.html",
              template: "src/index.html",
              inject: "body",
            }),
            new CopyWebpackPlugin([{ from: 'assets', to: 'assets'}]),
            new webpack.DefinePlugin({
                VERSION:     JSON.stringify(process.env.npm_package_version),
        }),
        new webpack.HotModuleReplacementPlugin({
  
        }),
      ],
  
    devServer: {
      contentBase: path.join(__dirname, 'dist'),
  compress: true,
  host: "localhost",
  port: 9000,
  hot: true,
  disableHostCheck: true,
    },
    module: {
      rules: [
      { test: /\.(tsx)?$/, 
        loader: "ts-loader",
          exclude: path.join(__dirname, 'node_modules'),
      },
      {test: /\.css$/, use: ['style-loader',{loader:'css-loader',     options:{}}]}
      ],
    },
    node: {
  fs: 'empty'
    }
  
  };
  </code></pre>
  
  <p>I expect the HRM is working as usual.</p>