mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-22 03:12:41 +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 }),
|
||||
],
|
||||
server: {
|
||||
watch: { ignored: isIgnored },
|
||||
watch: { ...nuxt.options.watchers.chokidar, ignored: [isIgnored, '**/node_modules'] },
|
||||
fs: {
|
||||
allow: [...new Set(allowDirs)],
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user