Access to webpack-dev-server from devise

Access webpack-dev-server on local machine from mobile and other devices.

Add ‘devServer’ property to webpack.config.js

// webpack.config.js
module.exports = {
...
  devServer: {
host: '0.0.0.0',
port: 4000,
disableHostCheck: true,
},
}

Access to local machine IP

e.g. http://192.168.1.10:4000

it works 🎉

added ‘disableHostCheck’ option in v2.4.4

A single golf clap? Or a long standing ovation?

By clapping more or less, you can signal to us which stories really stand out.