Open tbrlpld opened 3 years ago
I do sometimes see this error in the console:
EventSource cannot load http://localhost:9000/__webpack_hmr due to access control checks.
(My dev server is running 9000 because the backend is already on 8000)
I am now noticing that the hot reloading also breaks without an error being created. Any change in the code (with or without creating an error) leads to the issue. So really I can load the page and reload it without issue. But as soon as I am changing something in the code, then I can not load the page anymore and need to restart the server.
EDIT: To clarify a bit more, when a non-breaking change is made, then the browser seems to successfully reload the changes automatically. But, trying to manually reload the page does not work anymore.
Hi,
I am currently experiencing issues with the hot reloading. When I integrate a call to the
createWagtailPages
function in thegatsby-node.js
file, then hot reloading stops working after I introduce a small bug (i.e. a syntax error like a missing closing tag). The hot reloading does pick up on the error and shows the appropriate message. When I then fix the error, hot reloading does not work anymore. The error message remains. Trying to reload the page results in a timeout (or at least takes so long that it seems infinite).Was wondering if you can reproduce this behavior?
I am currently on the version from master.
System info: