Why did I configure {cache: false} in vite-eslint-plugin and still fail to hot update successfully?
import eslintPlugin from 'vite-plugin-eslint' eslintPlugin({ include: ['src/**/*.js', 'src/**/*.vue', 'src/*.js', 'src/*.vue'], cache: false }),
I'm glad to solve this problem quickly! In the vue3 project created based on vite, it is not necessary to install the vite-plugin-elint plug-in. If it is installed, it may cause an error after the hot update.....
Why did I configure {cache: false} in vite-eslint-plugin and still fail to hot update successfully?
import eslintPlugin from 'vite-plugin-eslint' eslintPlugin({ include: ['src/**/*.js', 'src/**/*.vue', 'src/*.js', 'src/*.vue'], cache: false }),