Skip to content

HMR not working properly, webpack header not identified correctly #1058

Open
@masmrlar

Description

@masmrlar

The HMR feature is not working properly as the check if the webpack server is running does not identify the server correctly.

Issue is

array_search('Express', $response->getHeader('x-powered-by'));

where array_search is used to check if Express is set on the header value - which returns 0 and results to false in this implementation of the check.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions