vuejs-templates / browserify

A full-featured Browserify + vueify setup with hot-reload, linting & unit testing.
272 stars 85 forks source link

Default dns doesn't work on docker #21

Closed marcoaraujojunior closed 8 years ago

marcoaraujojunior commented 8 years ago

Removed option "-a localhost", because this dns isn't recognized by docker

Removing this option makes http-server defaults to 127.0.0.1

https://github.com/vuejs/vue-cli/issues/36

chrisvfritz commented 8 years ago

Setting to localhost is useful for testing from other devices on a network, such as mobile devices, VMs, or the computers of team members, so removing it for the Docker edge case would actually cause pain for most users. I recommend either: