docusaurus-plugin-remote-content icon indicating copy to clipboard operation
docusaurus-plugin-remote-content copied to clipboard

Fast Refresh infinite loop

Open alebanzas opened this issue 2 years ago • 14 comments

localhost keeps hot reloading even though no changes are made

image

docusaurus.config.js

[
    "docusaurus-plugin-remote-content",
    {
        name: "some-name-readme",
        sourceBaseUrl: "https://someurl.com/file.md",
        outDir: "docs/xyz/",
        documents: ["README.md"],
        modifyContent(filename, content) {
          if (filename.includes("README")) {
              return { content: "# some title \n\n #" + content }
          }
          return undefined
      },
    },
 ],

alebanzas avatar Nov 29 '22 12:11 alebanzas