Skip to content

NodeInvocationException: document is not defined on initial project startup. But fine after refreshing page (F5) #50

@bharney

Description

@bharney

Force VS Build to wait for Webpack Completion before displaying page

  • When developing locally, the VS build is trying to display the site before the webpack build is completed. The webpack build unfortunately takes a few seconds longer than the VS Build and results in NodeInvocationException: document is not defined on page load.
    However if you wait until webpack build completes and refresh the page, everything loads fine. Super irritating.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions