When running elm-live4.0.2 with the following command:
elm-live -H src/Main.elm -- --output elm.js
The following error is returned:
----------------------
|| ERROR IN COMMAND ||
----------------------
Usage: <elm-main> [options] [--] [elm make options]
-- Needs JS Output When Hot Reloading ------
You have turned hot reloading on, but for hot reloading to work you need to load your Elm code through an external JS file. You can learn more about how to do this using the --output flag by reading the following section of the elm guide on JavaScript Interop: <https://guide.elm-lang.org/interop/>
The external javascript file output is not detected.
When running elm-live
4.0.2
with the following command:The following error is returned:
The external javascript file output is not detected.
This works if the following syntax is used:
with
--output=FILE
instead of--output FILE
.I would have expected both syntaxes to work.
Versions