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

Added start (hot-server, start-hot) servers with one command #162

Merged
merged 3 commits into from
Mar 2, 2016
Merged

Conversation

g1ibby
Copy link
Contributor

@g1ibby g1ibby commented Feb 27, 2016

Keep open two terminals is bad.
So I added the ability to run two servers with a single command (npm run dev).
I hope this opportunity will be useful to others.

@chentsulin
Copy link
Member

Why better-npm-run npm module is needed here?

@g1ibby
Copy link
Contributor Author

g1ibby commented Mar 1, 2016

Yes you are right. better-npm-run is not necessary here, because It has cross-env.

@jhen0409
Copy link
Member

jhen0409 commented Mar 1, 2016

In my use case, I often change main process, and restart it, but webpack server not need. If they are restart together, there will be a longer waiting time.

@g1ibby
Copy link
Contributor Author

g1ibby commented Mar 1, 2016

@jhen0409 yes, the restart time will increase this way, but it's just one option run. You can also run separately (npm run hot-server and npm run start-hot).
I have made changes in README.MD on this occasion

chentsulin added a commit that referenced this pull request Mar 2, 2016
Added start (hot-server, start-hot) servers with one command
@chentsulin chentsulin merged commit e07b5cf into electron-react-boilerplate:master Mar 2, 2016
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

Successfully merging this pull request may close these issues.

3 participants