How to get access to webpack-dev-server from devices in local network?
<p>There is some webpack dev server config (it's part of the whole config):</p>

<pre><code>config.devServer = {
  contentBase: './' + (options.publicFolder ? options.publicFolder : 'public'),
  stats: {
    modules: false,
    cached: false,
    colors: true,
    chunk: false
  },
  proxy: [{
    path: /^\/api\/(.*)/,
    target: options.proxyApiTarget,
    rewrite: rewriteUrl('/$1'),
    changeOrigin: true
  }]
};

function rewriteUrl(replacePath) {
  return function (req, opt) {  // gets called with request and proxy object
    var queryIndex = req.url.indexOf('?');
    var query = queryIndex &gt;= 0 ? req.url.substr(queryIndex) : "";
    req.url = req.path.replace(opt.path, replacePath) + query;
    console.log("rewriting ", req.originalUrl, req.url);
  };
}
</code></pre>

<p>I execute webpack with the following command:</p>

<pre><code>node node_modules/webpack-dev-server/bin/webpack-dev-server.js --host 0.0.0.0 --history-api-fallback --debug --inline --progress --config config/webpack.app.dev.js
</code></pre>

<p>I can get access to dev server using <code>http://localhost:8080</code> on my local machine, but I also want to get access to my server from my mobile, tablet (they are in the same Wi-Fi network).</p>

<p>How can I enable it? Thanks!</p>