-
Notifications
You must be signed in to change notification settings - Fork 157
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
fix: update development server command #933
base: develop
Are you sure you want to change the base?
fix: update development server command #933
Conversation
…itialize the proxy also to improve development flow
@@ -8,7 +8,7 @@ | |||
"fix": "prettier --write .", | |||
"test": "jest", | |||
"start": "node server.js", | |||
"dev": "local-ssl-proxy --source 443 --target 5500 -n dev.realdevsquad.com" | |||
"dev": "node server.js & local-ssl-proxy --source 443 --target 8000 -n dev.realdevsquad.com" |
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.
- couple of questions:
- what does
node server.js
do? - does the server reload the page if we make any changes in the codebase (or) will we have to reload the page manually for the changes to be visible?
- why are we changing the port from 5500 to 8000?
- what does
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.
- the node server.js is used to start the server
- no the server does not reload.
- the server.js runs on 8000 by default so we need to also change the target to 8000 so it can resolve the right target . you can look up more on the local-ssl-proxy doc for more example
Also please add a working screen recording proof |
screenshot added . kindly check |
not the screenshot can you please add a screen recording of the working website at dev and localhost |
video added. |
Date: 04/01/2025
Developer Name: JC-Coder
Issue Ticket Number
Description
update development server command to run the start script and initialize the proxy also to improve development flow
Documentation Updated?
Under Feature Flag
Database Changes
Breaking Changes
Development Tested?
Screenshots
Screenshot 1
Screen.Recording.2025-01-05.at.9.48.01.PM.mov
Test Coverage
Screenshot 1
Additional Notes