Add vite file watcher ignore config
This makes sure we only watch relevant files and avoids the "number of file watchers reached" issues seen on Linux systems. With a custom function we can stop vite from starting recursing down the whole root folder. This makes the whole thing way more efficient. We use config/vite.json to define additional paths we want watched.
想要评论请 注册 或 登录