diff --git a/src/utils/dev.ts b/src/utils/dev.ts index 46747e599..d5ac93df1 100644 --- a/src/utils/dev.ts +++ b/src/utils/dev.ts @@ -114,7 +114,7 @@ export async function watchContents(nuxt: Nuxt, options: ModuleOptions, manifest if (prefix && path.startsWith(prefix)) { return micromatch.isMatch( path.substring(cwd.length), - source.include, + '**', { ignore: source!.exclude || [], dot: true }, ) }