Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

Commit

Permalink
fix(vite): add extend layers to fs.allow (#9006)
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 authored and danielroe committed Jan 21, 2023
1 parent a9d5ccf commit c92fd74
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/vite/src/vite.ts
Expand Up @@ -85,7 +85,8 @@ export async function bundle (nuxt: Nuxt) {
watch: { ignored: isIgnored },
fs: {
allow: [
nuxt.options.appDir
nuxt.options.appDir,
...nuxt.options._layers.map(l => l.config.rootDir)
]
}
}
Expand Down

0 comments on commit c92fd74

Please sign in to comment.