fix(vite.config): also ignore .direnv
This commit is contained in:
parent
abe45c4ade
commit
35123ba4a7
|
@ -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