Reputation: 21
So, suddenly, gatsby develop gives me success in the VStudioCode console but, entering local host 8000 in the browser, the page loads my page SUPER SLOW! The background image of the site appears but the content doesn't. I'm too much of a beginner to understand how this is happening.
I attached a picture to show the chrome dev Tools network. It's crazy. 15 minutes for the webpack_hmr, even 1.5hrs at one point. I didn't have to wait that long but it shows it.
This is way beyond my skill level. The site is still super small, only pulling two pages from contentful cms.
What maybe caused this? No idea.
What did I do?
Why would webpack_hmr be taking so long? What are these socket and polling things in the network I see so much of?
I'd appreciate any ideas or suggestions, i'm at such a complete loss.
Upvotes: 2
Views: 1112
Reputation: 1870
There could be a lot of different reasons of it. I'll tell you about my case.
I'm using Gatsby together with WAMP backend. I had a huge access.log
file on my local Apache server (> 14 MB). I've cleaned access.log
and error.log
files and the problem has gone.
PS. My Apache log files are here: c:\Apache\Apache2.2\logs\
Upvotes: 2