webpack dev server: watch arbitrary directory files and reload : <p>Is it possible to make webpack-dev-server reload whenever a specified set of arbitrary files changes?</p>

<p>Something along the lines of:</p>

<pre><code>devServer: {
    watchTheseFiles: [ 'path/to/files', 'path/to/more/files' ]
}
</code></pre>

<p>And even more granularly, can I specify a regex of which files to watch?</p>

<p>I'm doing this as a bit of a hack to reload when I trigger certain changes in arbitrary files (they could be <code>.txt</code>, <code>.png</code>, whatever...)</p>

<p>At the moment, the specified paths in <code>contentBase</code> don't seem to trigger reload when files change.</p>
