Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] hot reload files that are added to the page by the **@include()**. #2766

Closed
Mister-Hope opened this issue Feb 11, 2023 · 1 comment
Labels
enhancement New feature or request upstream bug Bug comes from upstream, should not be fixed here

Comments

@Mister-Hope
Copy link
Member

Mister-Hope commented Feb 11, 2023

    Please  add the possibility of hot reloading files that are added to the page by the **@include()**.

You have to overload the Vite to see the changes.

Originally posted by @tadmi in #2686

Solution

This can not be done as long as this pr is not being merged: vuepress/core#1228

I do not have authorize to merge pr to main or publish new versions, so as long as @meteorlxy leaves them, you shall wait.

Also, you can have a workaround by:

  1. deleting the @ and save to hotreload
  2. adding the @ back then save to let the file being read again.
@Mister-Hope Mister-Hope changed the title Please add the possibility of hot reloading files that are added to the page by the **@include()**. [Feature] hot reload files that are added to the page by the **@include()**. Feb 11, 2023
@Mister-Hope Mister-Hope added the enhancement New feature or request label Feb 11, 2023
@Mister-Hope Mister-Hope added the upstream bug Bug comes from upstream, should not be fixed here label Feb 26, 2023
@Mister-Hope
Copy link
Member Author

1bf15b8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request upstream bug Bug comes from upstream, should not be fixed here
Projects
None yet
Development

No branches or pull requests

1 participant