We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'd like to pass some command-line arguments from intellij to may electron app.
For example if it was a simple electron app i'd run it with ./node_modules/.bin/electron main.js --arg1=value --arg2=value
./node_modules/.bin/electron main.js --arg1=value --arg2=value
But I simply add arguments to node or webpack directly I receive all kind of 'arguments not recognized` errors by webpack.
How do I do this with the boilerplate?
The text was updated successfully, but these errors were encountered:
in root packge.json, you can do:
"start:main": "cross-env NODE_ENV=development electronmon -r ts-node/register/transpile-only . --arg1=value --arg2=value",
Then you can get args from main process
Sorry, something went wrong.
No branches or pull requests
Summary
I'd like to pass some command-line arguments from intellij to may electron app.
For example if it was a simple electron app i'd run it with
./node_modules/.bin/electron main.js --arg1=value --arg2=value
But I simply add arguments to node or webpack directly I receive all kind of 'arguments not recognized` errors by webpack.
How do I do this with the boilerplate?
The text was updated successfully, but these errors were encountered: