-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Improved dev script #2216
Improved dev script #2216
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ZeroX-DG Could you delete the changes of package-lock.json
?
@Rokt33r done! |
package.json
Outdated
"compile": "grunt compile", | ||
"test": "PWD=$(pwd) NODE_ENV=test ava --serial", | ||
"jest": "jest", | ||
"fix": "eslint . --fix", | ||
"lint": "eslint .", | ||
"dev-start": "concurrently --kill-others \"npm run webpack\" \"npm run hot\"" | ||
"dev-start": "node dev-scripts/dev.js" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's just go with dev
rather than dev-start
. This should be the last request. :)
@Rokt33r Again, done ! |
This PR contains improvement for the current
dev-start
script which can sometime start electron before the webpack bundle process is finished which then cause this: #2210Now on,
dev-start
script will wait for webpack bundle process to finish then run electron.