You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Both the README.md and https://www.elm-live.com/ mention two flags --proxy-host and --proxy-prefix but the elm-live --help refers to them in camel case --proxyHost and --proxyPrefix. It appears that the camel case is the correct name which means the documentation is mistaken.
Took me a long while to notice this :(
The text was updated successfully, but these errors were encountered:
Pretty sure OP had this issue because of an API change between versions.
I had a similar issue:
I was running elm-live version 4.0.2 (pnpx elm-live --version > 4.0.2), but I looked at the help text via elm-live --help, which documented --proxyHost, but I that's an old help text for an older version: elm-live --version > 3.4.1.
Running pnpx elm-live --help gives the correct help texts.
For anyone wondering, as far as I understand, the README and documentation page are just documenting the most up-to-date elm-live version correctly (--proxy-host and --proxy-prefix). If you have an issue configuring proxies, try upgrading your elm-live version.
@wking-io I'd suggest crashing with an error when unexpected configuration options are passed to elm-live, that would've probably saved me and @tgelu lots of time :)
And to reiterate @tgelu's sentiment: elm-live is amazing indeed. I'm using it almost every day!
Both the
README.md
and https://www.elm-live.com/ mention two flags--proxy-host
and--proxy-prefix
but theelm-live --help
refers to them in camel case--proxyHost
and--proxyPrefix
. It appears that the camel case is the correct name which means the documentation is mistaken.Took me a long while to notice this :(
The text was updated successfully, but these errors were encountered: