Skip to content

Vite always reloads unchanged library functions

Vite seems to always reload all files on hmr, even when they haven't changed (e.g. files from the stdlib).

This could possibly be fixed by configuring server.watch differently: