Error when changing vite.config.ts
lights0123 opened this issue · 1 comments
lights0123 commented
When I edit vite.config.ts while vite is running, it prints the following error:
[vite] vite.config.ts changed, restarting server...
TypeError: Cannot read properties of null (reading 'name')
This error only appears when the plugin was installed initially, not when it's added and then saved.
lights0123 commented
Specifically, _activePlugin
is null in this line: