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

Setting custom settings in command line is not working #23

Open
negabakuru opened this issue Apr 13, 2017 · 0 comments
Open

Setting custom settings in command line is not working #23

negabakuru opened this issue Apr 13, 2017 · 0 comments

Comments

@negabakuru
Copy link

negabakuru commented Apr 13, 2017

When I try to run my application with:
yarn run dev -- --settings="mysettings.json"
I get the following error:

yarn run v0.22.0
$ node build/dev-server.js --settings=mysettings.json

  error: unknown option `--settings'

error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

This happens wether my application runs in electron or not.

This is due to webpack not allowing custom arguments without a specific syntax webpack/webpack#2254

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

1 participant