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

Sim websocket endpoint changes after compile #7135

Open
springbok opened this issue Sep 17, 2024 · 0 comments
Open

Sim websocket endpoint changes after compile #7135

springbok opened this issue Sep 17, 2024 · 0 comments
Labels
🐛 bug Something isn't working

Comments

@springbok
Copy link

I tried this:

When I'm using the sim to test locally it looks like the endpoint for a websocket is updated after a code change compile. The port number is updated whenever a code change is made and the sim compiles the changes. This makes it difficult to do client/API testing and development as the endpoint constantly changes.

This happened:

Port number of the websocket endpoint is updated after a code change compile.

I expected this:

It would be great for the websocket endpoint to remain the same after a code change and sim reload.

Is there a workaround?

Currently I have to update the endpoint in the client after each API code change.

Anything else?

No response

Wing Version

0.84.2

Node.js Version

v20.13.0

Platform(s)

Linux

Community Notes

  • Please vote by adding a 👍 reaction to the issue to help us prioritize.
  • If you are interested to work on this issue, please leave a comment.
@springbok springbok added the 🐛 bug Something isn't working label Sep 17, 2024
@monadabot monadabot added this to Wing Sep 17, 2024
@github-project-automation github-project-automation bot moved this to 🆕 New - not properly defined in Wing Sep 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working
Projects
Status: 🆕 New - not properly defined
Development

No branches or pull requests

1 participant