⚙️ Ouvre le serveur sur toutes les interfaces

pull/7/merge
Laurent Bossavit 2017-06-27 13:36:11 +02:00
parent bbb85fa9ee
commit e7b810aca3
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ new WebpackDevServer(webpack(config), {
chunks: false,
chunkModules: false
}
}).listen(3000, 'localhost', function (err) {
}).listen(3000, '0.0.0.0', function (err) {
if (err)
console.log(err) //eslint-disable-line no-console
console.log('Bonjour ! Je vous sers sur localhost:3000') //eslint-disable-line no-console