diff --git a/.changeset/old-rings-warn.md b/.changeset/old-rings-warn.md new file mode 100644 index 000000000..e45bc657a --- /dev/null +++ b/.changeset/old-rings-warn.md @@ -0,0 +1,5 @@ +--- +'@rspress/core': patch +--- + +release diff --git a/packages/plugin-preview/src/index.ts b/packages/plugin-preview/src/index.ts index 234d35867..2c8923893 100644 --- a/packages/plugin-preview/src/index.ts +++ b/packages/plugin-preview/src/index.ts @@ -173,6 +173,11 @@ export function pluginPreview(options?: Options): RspressPlugin { chain.resolve.extensions.prepend('.md').prepend('.mdx'); }, + rspack: { + watchOptions: { + ignored: /\.git/, + }, + }, }, plugins: [ {