Closed marcoaraujojunior closed 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:
http-server
for better Docker compatibility, or
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