Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Yarn: Output In Wrong Location when using -- --output='file.js' #259

Open
prescottbreeden opened this issue Jul 13, 2021 · 2 comments
Open

Comments

@prescottbreeden
Copy link

prescottbreeden commented Jul 13, 2021

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.

@prescottbreeden prescottbreeden changed the title Unix: Output In Wrong Location when using -- --output='file.js' Yarn: Output In Wrong Location when using -- --output='file.js' Jul 13, 2021
@lucamug
Copy link
Contributor

lucamug commented Jul 13, 2021

Is this for all OSs?

@prescottbreeden
Copy link
Author

Is this for all OSs?

I believe it's yarn specific, have not tested outside linux but i can test later

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants