NextJS continuously reloads #2225
Answered
by
ricardomatias
ricardomatias
asked this question in
Q&A
-
Hello, I've followed the configuration on alphaTabSamplesWeb/NextJS15, but when I run development mode, NextJS keeps refreshing (re-compiling). There are some notes in the README of the link above, but I didn't find a solution in there. |
Beta Was this translation helpful? Give feedback.
Answered by
ricardomatias
Aug 5, 2025
Replies: 1 comment 4 replies
-
I'd expect there should be some sort of log output that might indicate the problem. Using the sample project from the repo I do not see any problems. When exactly does the problem start appearing? As soon as you add the webpack plugin? The more details you share, the easier it will be to help. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes, adding the plugin caused the issue. Unfortunately there were no helpful logs being generated, just the usual NextJS refresh logs.
In the end, I added the public/alphaTab directory to the watchOptions ignore property and the issue went away. Here's the config for anyone else having trouble with this: