Closed Meow closed 2 months ago
After this PR, it is now required to disable ublock origin on localhost when running in dev. uBlock blocks http://localhost:5173/js/fingerprint.js which is not handled and causes most js to fail as well.
After this PR, it is now required to disable ublock origin on localhost when running in dev. uBlock blocks http://localhost:5173/js/fingerprint.js which is not handled and causes most js to fail as well.
Sounds like a uBlock bug (why would it block stuff on localhost)
HMR aka vite's screwed up definition of live reload. Runs two vite instances (BECAUSE YAY), one just dumbly compiles static bundle for fonts and fallback theme to prevent FOUC, and the other is the dev server that does LiVe ReLoAdInG ThInGy because it's 2024 and apparently live reloading is all the rage so we cheaply as possible cosplay one of those fancy fabled SINGLE PAGE APPLICATION FRAMEWORKS because that's cool these days I guess