Roots Discourse

Recompile loop after yarn start

After I run yarn start, I get stuck in a compile loop:

 WAIT  Compiling...                                                                                                                                     8:27:54 AM

 DONE  Compiled successfully in 111ms                                                                                                                   8:27:55 AM

 WAIT  Compiling...                                                                                                                                     8:27:55 AM

 DONE  Compiled successfully in 68ms                                                                                                                    8:27:55 AM

 WAIT  Compiling... 

…and so on.

My devUrl and proxyUrl are correct in my config.json.

“devUrl”: “http://localhost:8888”,
“proxyUrl”: “http://localhost:3000”,

It seems like it’s detecting a change in one of my files incorrectly. Has anyone else run into this issue? I’ve seen some similar issues posted but haven’t found a solution.

The start task watches the project files for changes and automatically rebuilds (and syncs it using BrowserSync).

The problem is, none of my files are being changed. It’s constantly rebuilding for no reason.