title: Reloading 'sub' pages with Webpack dev server not working
body: <p>I am migrating a project from Gulp to Webpack 2. This is a client-server app (using express). I had to include the webpack middlewares in my server, and also added this bit:</p>
  
  <pre><code>app.get('*', function (req, res) {
    res.sendFile(path.normalize(`${__dirname}/../client/index.html`));
  });
  </code></pre>
  
  <p>Now, the problem with this is, that now if click about in the application, things work fine, react router loads the sub pages, so all ok. However if I try to reload any of those sub pages (like localhost:3000/account, etc. I'll get a blank page). I think this is because for '*' the index.html is served up, which won't render in this situation (not sure why, but I can see the source of the page that is being shown and it's the index.html). I tried to include the historyApiFallback in the dev server config, but didn't help).</p>