Skip to content

import component in mdx do not hot reload #87

Description

@linsmalldragon

Same issue in contentlayerdev/contentlayer#261

Put import in mdx like import {expandListContent} from "@/content/components/expand-list";

then modify the component , it will not change even we refresh page except we shutdown cmd and pnpm dev again or modify the mdx file content.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions