Skip to content

Infinite compiling loop in development #52

Closed
@balazsorban44

Description

@balazsorban44

I've used this repo as a starting point for an ongoing very WIP effort to create a blog for myself.

When starting the dev server with next dev, though, I end up in a compiling loop, here is a snippet from the terminal:

event - compiled successfully in 330 ms (454 modules)
wait  - compiling...
event - compiled successfully in 327 ms (454 modules)
wait  - compiling...
event - compiled successfully in 336 ms (454 modules)
wait  - compiling...
event - compiled successfully in 342 ms (454 modules)
wait  - compiling...
event - compiled successfully in 332 ms (454 modules)
wait  - compiling...
event - compiled successfully in 554 ms (454 modules)
wait  - compiling...
event - compiled successfully in 339 ms (454 modules)
wait  - compiling...
event - compiled successfully in 361 ms (454 modules)
wait  - compiling...
event - compiled successfully in 347 ms (454 modules)
wait  - compiling...
event - compiled successfully in 345 ms (454 modules)
wait  - compiling...
event - compiled successfully in 334 ms (454 modules)
wait  - compiling...
event - compiled successfully in 362 ms (454 modules)
wait  - compiling...
event - compiled successfully in 344 ms (454 modules)
wait  - compiling...
event - compiled successfully in 336 ms (454 modules)

I remember seeing something similar a few days ago at work, the problem was this: getsentry/sentry-javascript#4123

I wonder if contentlayer has a similar issue, or if I configured something badly. here is the code causing the problem: https://github.com/balazsorban44/balazsorban.com/tree/feat/blog

next build seems to work fine.

Any ideas?

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