Permalink
Browse files

Make use of options.host

  • Loading branch information...
1 parent fa04708 commit 2cb4410e22f38842da03b4733156f8f01491f5a3 @okonet committed Feb 14, 2016
Showing with 1 addition and 1 deletion.
  1. +1 −1 index.js
View
@@ -22,7 +22,7 @@ module.exports = function(config, opts) {
server = new WebpackDevServer(compiler, options)
- server.listen(options.port || 8081, "localhost", function() {
+ server.listen(options.port || 8081, options.host, function() {
console.log(
chalk.blue('[metalsmith-webpack-dev-server]: ') +
chalk.green("Running webpack dev server at http://" + options.host + ":" + options.port)

0 comments on commit 2cb4410

Please sign in to comment.