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
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.
This works if the following syntax is used:
elm-live -H src/Main.elm -- --output=elm.js
with --output=FILE instead of --output FILE.
I would have expected both syntaxes to work.
Versions
elm-live: 4.0.2
elm: 0.19.1
OS: Ubuntu 18.04 LTS
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: