Skip to content

Livereload stops working after ~20s for data imported through getStaticProps #34054

@schickling

Description

@schickling

What version of Next.js are you using?

12

What version of Node.js are you using?

Confirmed with v14 and v16 (probably in others as well)

What browser are you using?

Confirmed with Chrome and Safari

What operating system are you using?

macOS

How are you deploying your application?

Describe the Bug

It seems that Next.js' livereload stops working after ~20s for data imported through getStaticProps.

Here is an explainer video:

CleanShot.2022-02-07.at.12.27.37.mp4

Expected Behavior

Livereload should keep working

To Reproduce

Open this project on Stackblitz: https://stackblitz.com/edit/nextjs-bmc4oy?file=pages%2Findex.js

Metadata

Metadata

Assignees

No one assigned

    Labels

    WebpackRelated to Webpack with Next.js.bugIssue was opened via the bug report template.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions