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

LiveReload does not work on Gitpod #90

Open
meenie opened this issue Jun 25, 2022 · 3 comments
Open

LiveReload does not work on Gitpod #90

meenie opened this issue Jun 25, 2022 · 3 comments

Comments

@meenie
Copy link

meenie commented Jun 25, 2022

Have you experienced this bug with the latest version of the template?

Yes

Steps to Reproduce

Click the "Gitpod | Ready-to-code" button to create a new pod for this repo. After the repo starts up and it asks you to allow the ports, it will open up the app in a browser tab. Notice that the URL it's trying to use is something like: wss://3000-remixrun-bluesstack-<token>.ws-us47.gitpod.io:8002/socket, but it should connect to: wss://8002-remixrun-bluesstack-<token>.ws-us47.gitpod.io/socket instead.

Expected Behavior

LiveReload should function properly while running on Gitpod.

Actual Behavior

It's trying to connect to the wrong Websocket URL which means LiveReload will not work.

@MichaelDeBoey
Copy link
Member

@jacobparis Could you please help out with this one?

@github-actions
Copy link
Contributor

This issue has been automatically marked stale because we haven't received a response from the original author in a while 🙈. This automation helps keep the issue tracker clean from issues that are not actionable. Please reach out if you have more information for us or you think this issue shouldn't be closed! 🙂 If you don't do so within 7 days, this issue will be automatically closed.

@github-actions github-actions bot added the needs-response We need a response from the original author about the issue label Apr 17, 2023
@jacobparis
Copy link
Contributor

Hi, sorry for dropping this for so long

If you use Gitpod from a desktop IDE (VS Code or JetBrains), this works out of the box. Gitpod will expose all the ports directly from localhost and this works just like it does in local dev

If you use gitpod in the browser, you can install the Local Companion app and tunnel the URL to make it work, but there's nothing out of the box gitpod-io/gitpod#3282

Remix only allows you to set the devServerPort, but if that were extended to allow a devServerPath, then we could solve this on Remix's end too.

@github-actions github-actions bot removed the needs-response We need a response from the original author about the issue label Apr 20, 2023
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

No branches or pull requests

3 participants