Endless loop - compiling npx frontity dev

So I know I’m probably missing something, but I’ve been getting this weird error lately where when I run npx frontity dev, my terminal goes crazy.

It goes into this endless loop of compiling. Why does it do this?

Here’s the txt from my terminal:
indent preformatted text by 4 spaces
Chayces-Air:guestrealty chaycesolchaga$ npx frontity dev

SERVER STARTED -- Listening @ http://localhost:3000
  - mode: development
  - target: module
  - public-path: /static/


webpack built client 8d07acf375609bd27d6c in 7921ms
ℹ 「wdm」: Child client:
                      Asset      Size         Chunks             Chunk Names
fonts/SourceSansPro.ttf   263 KiB                 [emitted]  
guestrealtyco.module.js  5.42 MiB  guestrealtyco  [emitted]  guestrealtyco
   images/greenLogo.png  6.97 KiB                 [emitted]  
   images/star_arch.png  33.7 KiB                 [emitted]  
         list.module.js   150 KiB           list  [emitted]  list
 + 1 hidden asset
Child server:
    Asset      Size  Chunks             Chunk Names
server.js  8.01 MiB    main  [emitted]  main
ℹ 「wdm」: Compiled successfully.
ℹ 「wdm」: Compiling...
ℹ 「wdm」: Child client:
                  Asset      Size         Chunks             Chunk Names
fonts/SourceSansPro.ttf   263 KiB                 [emitted]  
guestrealtyco.module.js  5.42 MiB  guestrealtyco  [emitted]  guestrealtyco
   images/greenLogo.png  6.97 KiB                 [emitted]  
   images/star_arch.png  33.7 KiB                 [emitted]  
         list.module.js   150 KiB           list  [emitted]  list
 + 1 hidden asset
    Child server:
 1 asset
ℹ 「wdm」: Compiled successfully.
ℹ 「wdm」: Compiling...
webpack building...
webpack built client 8d07acf375609bd27d6c in 176ms
ℹ 「wdm」: Child client:
 6 assets
Child server:
 1 asset
ℹ 「wdm」: Compiled successfully.
ℹ 「wdm」: Compiling...
ℹ 「wdm」: Child client:
     6 assets
Child server:
 1 asset
ℹ 「wdm」: Compiled successfully.
ℹ 「wdm」: Compiling...
ℹ 「wdm」: Child client:
 6 assets
Child server:
 1 asset
ℹ 「wdm」: Compiled successfully.
ℹ 「wdm」: Compiling...
webpack building...
webpack built client 8d07acf375609bd27d6c in 286ms
ℹ 「wdm」: Child client:
 6 assets
Child server:
 1 asset
ℹ 「wdm」: Compiled successfully.
ℹ 「wdm」: Compiling... 
webpack building...
webpack built client 8d07acf375609bd27d6c in 36ms
ℹ 「wdm」: Child client:
 6 assets
Child server:
 1 asset
ℹ 「wdm」: Compiled successfully.
ℹ 「wdm」: Compiling...
ℹ 「wdm」: Child client:

Hi @chayce.solchaga

Can you please provide a repo or code-sandbox with your code? This is especially helpful to find solutions of technical issues with specific code

1 Like

Hey sorry @juanma this resolved. I ended up having a css font import in my css file that I thought I deleted/commented out - but didn’t.

I ended up installing the font on my site - which helped a lot with performance and the endless compiling disappeared.

Thank you and your team for all the help I’ve received. Frontity is amazing! As a new dev and someone who knew nothing about Wordpress and just starting in React, this was very approachable and you and the team have done a great job with documentation and the community. Keep it up!

2 Likes

Thanks a lot for such nice words @chayce.solchaga :blush: