You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.
Whenever I'm in dev mode and make a change the recompilation makes my Macbook Pro 13 2020 fans immediately spin up. This seems like some inefficency with svelte/sapper HMR since I haven't got that issue in react or elsewhere.
The text was updated successfully, but these errors were encountered:
You could start by putting some timers before and after generate_client_manifest, generate_server_manifest, generate_app, create_serviceworker_manifest, etc. to see if there's a part that particularly taking awhile for you
It looks like the problem is in the service-worker.js file.
I have a Ryzen 7 4700U with 16GB of RAM, and it's using 50% of the CPU 🐙
Edit: it all went back to normal when I killed that process. I am doing an investigation on how to reproduce it, because I had this problem once before.
Whenever I'm in dev mode and make a change the recompilation makes my Macbook Pro 13 2020 fans immediately spin up. This seems like some inefficency with svelte/sapper HMR since I haven't got that issue in react or elsewhere.
The text was updated successfully, but these errors were encountered: