Skip to content

Check for document breaks live reload in web worker #308

Closed
@matthewdenobrega

Description

@matthewdenobrega

Line 4 of client/index.js presumes the existence of document, which is not the case in a web worker (which also obviously doesn't have script tags). There should be an additional check here for whether document exists before querying the DOM for script tags.

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