fix(vite.config): also ignore .direnv

This commit is contained in:
mei (ckie) 2024-10-27 04:09:35 +02:00
parent abe45c4ade
commit 35123ba4a7
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"]