Skip to content

Infinite compiling loop in development #52

Closed

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?

Activity

  1. balazsorban44 commented on Nov 21, 2021

    @balazsorban44
    Author

    UPDATE:

    I think the problem was with my Tailwind configuration.

    Something in this commit Fixed the dev server https://github.com/balazsorban44/balazsorban.com/commit/3a02997d137d70614a8943a03ece3ebda8c1ca4d

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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