fix(vite.config): also ignore .direnv

This commit is contained in:
mei (ckie) 2024-10-27 04:09:35 +02:00
parent 74f52215d1
commit f82f51be6f
Signed by: ckie
GPG key ID: 13E79449C0525215

View file

@ -7,7 +7,7 @@ export default defineConfig({
server: {
watch: {
// absurdly big
ignored: (file) => file.includes("/.petalpkgs")
ignored: (file) => /\/(\.direnv|\.petalpkgs)$/.test(file)
},
fs: {
allow: ["./tailwind.config.js", "./.petalpkgs"]