lydell/elm-watch

Ability to set domain for websocket server

Closed this issue · 1 comments

I can tell the whole thing is intended to run on localhost, and that works well.

However I had reason to want to run the script in production, using a local development server to serve the script. To test and figure out what was wrong of course, it enabled me to add Debug.log and similar to figure out what the problems were.

However the websocket insisted on running on the public domain, the same as the page was served from. I suspect it just uses a relative url.

I could do it just by using make instead of watch, but if I could have set the full domain I would have had all the power of the tool.

lydell commented

Duplicate of #60