wking-io / elm-live

⚡ A flexible dev server for Elm. Live reload included.
https://elm-live.com
MIT License
1.05k stars 61 forks source link

elm-live returns nothing when running in a docker container #224

Closed dbj closed 4 years ago

dbj commented 4 years ago

Setup

Reproduce

Expected Results

Testing

dcellucci commented 4 years ago

I found that adding --host=0.0.0.0 to the elm-live options (before the --) fixed this for me.

asett0 commented 4 years ago

Correct me if my terminology is wrong. Docker assigns dynamic IP addresses to its containers. Because of this you need to specify --host=0.0.0.0. 0.0.0.0 is essentially an alias to listen on all IP addresses.

dbj commented 4 years ago

Of course. Thank you for pointing that out. :).