mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-22 11:22:43 +00:00
chore: also pass to vite.server.watch
This commit is contained in:
parent
39aba7333f
commit
e8716af268
@ -102,7 +102,7 @@ export const bundle: NuxtBuilder['bundle'] = async (nuxt) => {
|
|||||||
replace({ preventAssignment: true, ...globalThisReplacements }),
|
replace({ preventAssignment: true, ...globalThisReplacements }),
|
||||||
],
|
],
|
||||||
server: {
|
server: {
|
||||||
watch: { ignored: isIgnored },
|
watch: { ...nuxt.options.watchers.chokidar, ignored: [isIgnored, '**/node_modules'] },
|
||||||
fs: {
|
fs: {
|
||||||
allow: [...new Set(allowDirs)],
|
allow: [...new Set(allowDirs)],
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user