Added start (hot-server, start-hot) servers with one command#162
Merged
chentsulin merged 3 commits intoelectron-react-boilerplate:masterfrom Mar 2, 2016
g1ibby:better-npm-run
Merged
Added start (hot-server, start-hot) servers with one command#162chentsulin merged 3 commits intoelectron-react-boilerplate:masterfrom g1ibby:better-npm-run
chentsulin merged 3 commits intoelectron-react-boilerplate:masterfrom
g1ibby:better-npm-run
Conversation
Member
|
Why |
Contributor
Author
|
Yes you are right. |
Member
|
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. |
Contributor
Author
|
@jhen0409 yes, the restart time will increase this way, but it's just one option run. You can also run separately ( |
chentsulin
added a commit
that referenced
this pull request
Mar 2, 2016
Added start (hot-server, start-hot) servers with one command
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.