mattdesl / budo

:clapper: a dev server for rapid prototyping
MIT License
2.17k stars 106 forks source link

live port in client script #251

Open emilbayes opened 4 years ago

emilbayes commented 4 years ago

It seems the live-port option does not propagate into the client script?

Is this correct? I'm trying to make a setup with budo as a dev server, but have a proxy in between to simulate a prod env. I've been messing around with live and inject-lr-script, which does allow me to change where the script is loaded from, but I'm mostly interested in changing the port and hostname used, which currently default to document.location.host and document.location.port.