Commit 91064fed authored by Sascha Herzinger's avatar Sascha Herzinger
Browse files

Binding webpack dev server to 0.0.0.0 (for docker)

parent 1b7a06f2
Pipeline #3890 passed with stages
in 4 minutes and 29 seconds
......@@ -14,7 +14,6 @@
},
"scripts": {
"build": "./node_modules/webpack/bin/webpack.js --config webpack.config.js --env production",
"devbuild": "./node_modules/webpack/bin/webpack.js --config webpack.config.js",
"test": "./node_modules/karma/bin/karma start karma.config.js",
"devserver": "./node_modules/webpack-dev-server/bin/webpack-dev-server.js --config webpack.config.js"
},
......
......@@ -26,6 +26,8 @@ module.exports = {
],
devtool: '#source-map',
devServer: {
host: '0.0.0.0',
port: '8080',
hot: true,
inline: true,
publicPath: 'http://127.0.0.1:8080/',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment