There is a bug in the arg parsing that requires doubling the number of double-dashes to add elm make flags:
yarn elm-live src/Main.elm -- -- --output=main.js
This looks to be because yarn removes double-dashes on inputs:
warning From Yarn 1.0 onwards, scripts don't require "--" for options to be forwarded. In a future version, any explicit "--" will be forwarded as-is to the scripts.
There is a bug in the arg parsing that requires doubling the number of double-dashes to add elm make flags:
yarn elm-live src/Main.elm -- -- --output=main.js
This looks to be because yarn removes double-dashes on inputs:
warning From Yarn 1.0 onwards, scripts don't require "--" for options to be forwarded. In a future version, any explicit "--" will be forwarded as-is to the scripts.