Skip to content

Commit e9f4594

Browse files
committed
Allow Webpack dev server to listen to all interfaces
Signed-off-by: J. Ryan Stinnett <jryans@gmail.com>
1 parent eef4f7c commit e9f4594

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
"install:electron": "install-app-deps",
4545
"electron": "npm run install:electron && electron .",
4646
"start:res": "node scripts/copy-res.js -w",
47-
"start:js": "webpack-dev-server --output-filename=bundles/_dev_/[name].js --output-chunk-filename=bundles/_dev_/[name].js -w --progress --mode development",
47+
"start:js": "webpack-dev-server --host=0.0.0.0 --output-filename=bundles/_dev_/[name].js --output-chunk-filename=bundles/_dev_/[name].js -w --progress --mode development",
4848
"start:js:prod": "cross-env NODE_ENV=production webpack-dev-server -w --progress",
4949
"start:js-sdk": "node scripts/npm-sub.js matrix-js-sdk run start:watch",
5050
"start:js-sdk:prod": "cross-env NODE_ENV=production node scripts/npm-sub.js matrix-js-sdk run start:watch",

0 commit comments

Comments
 (0)