Skip to content

[BUG] Interference with HMR #36

Open
@Zombobot1

Description

@Zombobot1

Versions:
"msw": "0.27.2",
"msw-storybook-addon": "1.1.0",

I often get an error which forces me to reload storybook page.
image

I suppose that MSW intercepts one of HMR requests and fails.

At the same time I see this error in console:
[MSW] Failed to mock a "GET" request to "http://localhost:6006/4cb31fa2eee22cf5b32f.hot-update.json": TypeError: Cannot read property 'id' of undefined at handleRequest (http://localhost:6006/mockServiceWorker.js:117:34)

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