Skip to content
Permalink
Browse files

fix(webpack): allow webpack app to run inside docker container

Change "localhost" in run.ext in the webpack template for the webpack server, so that it could also be accessible when running inside a docker container.
  • Loading branch information...
shahabganji committed Jun 18, 2019
1 parent 2444bd9 commit 263b2c2884ec29323fd2a7ea396d9dec56327053
Showing with 1 addition and 1 deletion.
  1. +1 −1 skeleton/webpack/aurelia_project/tasks/run.ext
@@ -18,7 +18,7 @@ import {CLIOptions, reportWebpackReadiness} from 'aurelia-cli';
function runWebpack(done) {
// https://webpack.github.io/docs/webpack-dev-server.html
let opts = {
host: 'localhost',
host: '0.0.0.0',
publicPath: config.output.publicPath,
filename: config.output.filename,
hot: project.platform.hmr || CLIOptions.hasFlag('hmr'),

0 comments on commit 263b2c2

Please sign in to comment.
You can’t perform that action at this time.