Changing `platform.host` in `aurelia.json` doesn't change the host IP

webpack-dev-server fills up some default value to webpack config. It adds host with value localhost when user didn’t explicitly set in command line.

This is annoying, our host || project.platform.host never worked.

The funny thing is webpack-dev-server only mutates the options passed to webpack config. Whether the user uses that passed in host value inside devServer config, it’s totally up to the user. This is beyond my comprehension of design.

1 Like