-
-
Notifications
You must be signed in to change notification settings - Fork 8.8k
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
Try new Live Reload ports if default is taken #731
Comments
Just gonna put the relevant codes/ tips to guide those who want to take this issue: For now, the live reload had a fixed port as constant Look at how we attempt to use different port when starting a server. Take inspiration from this & you'll solve this issue 😄 I'll be happy to help anyone who wanted to fix this issue |
hi @JoelMarcey , can I take this up 😄 |
@vaibhavsingh97 It's yours |
@vaibhavsingh97 It's yours! I've added an "issue-claimed" label so that others will know not to start work on the issue. If you change your mind about the issue, no worries! Just let me know so that I can remove the label and free it up for someone else to claim. I'll check in with you periodically so that we can keep the task updated with the progress. |
yeah sure, Right now I am learning react as I am not familiar with it. I will try to fix after that. |
If I'm not wrong, this portion of the code doesn't require React knowledge; more of Node.js 😄 |
@yangshun Oh! yes, I will soon send a PR 😄 |
@yangshun @endiliey I had sent the PR #769 😄 |
Hi @vaibhavsingh97 -- https://github.com/facebook/Docusaurus/tree/master/admin should give you some docs on how to test your changes either with Docusaurus or another project. |
Thanks @JoelMarcey successfuly tested and fixed the bug 😄 |
Is this a bug report?
Not really. Sort of.
Have you read the Contributing Guidelines on issues?
Yes
Environment
N/A
Steps to Reproduce
Expected Behavior
Both sites run.
Actual Behavior
The server port will get to 3001. But the Live Reload port errors out as duplicate.
Reproducible Demo
See steps to reproduce above
The text was updated successfully, but these errors were encountered: