Skip to content
This repository was archived by the owner on May 13, 2026. It is now read-only.
This repository was archived by the owner on May 13, 2026. It is now read-only.

Web Socket binds to localhost only #3

Description

@stonehippo

I've been using Pattern Lab PHP via a docker container. I recently added plugin-reload to the image I manage, but was getting issues connecting to the web socket. A quick check shows that the socket is getting bound to ws://localhost:8000 in AutoReloadServer.php.

Changing this to ws://0.0.0.0:8000 allows binding from inside the container. I'd make a PR, but his doesn't feel quite right as a general purpose solution, though. Maybe there's a good way to configure the plugin declaratively?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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