Skip to content

Bug still in 0.8.5 (1st reported in v0.7.4 3f97767): coder port-forward and localhost:3000 freezes if web app source code is updated #2658

Closed as not planned
@sharkymark

Description

@sharkymark

Expected Behavior

  1. coder port-forward <workspace name> --tcp 3000:3000 starts fine.

  2. I start a node react app on port 3000

  3. And open localhost:3000 on my local Macbook Pro and the app shows up fine

  4. I make a quick change in the HTML to go from OSS! to OSS World! and the app recompiles

  5. I should refresh localhost:3000 and the change be visible

Current Behavior

Step 5 above freezes the web browser at localhost:3000 and it never reloads.

I have to stop the port-forward and re-start it.

image

Screenshot (clockwise)

  1. kubectl logs into the workspace pod
  2. the localhost:3000 web app, with previous state and notice the X in the browser which means it will not finish loading
  3. code-server VS Code in a browser opened from the workspace with the src file I changed and terminal with app started on 3000
  4. the coder port-forward running in the local terminal

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions