fix(vite.config): also ignore .direnv
This commit is contained in:
parent
74f52215d1
commit
f82f51be6f
|
@ -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"]
|
||||
|
|
Loading…
Reference in a new issue