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

@stonehippo

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions