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

bug: source file and html are out of sync #3

Closed
BuptStEve opened this issue Feb 1, 2019 · 2 comments
Closed

bug: source file and html are out of sync #3

BuptStEve opened this issue Feb 1, 2019 · 2 comments
Assignees
Labels
bug Something isn't working vuepress When compatible with vuepress

Comments

@BuptStEve
Copy link
Owner

BuptStEve commented Feb 1, 2019

Version
Version 0.2.2

Describe the bug
After modifying the source file, the content of the page does not refresh.

The temporary solution is to save the corresponding markdown file.

To Reproduce
Steps to reproduce the behavior:

  1. use it with vuepress
  2. run vuepress dev
  3. modify source file, like foo.vue, and save it
  4. out of sync

Expected behavior
After modifying the source file, we should get a new content.

Additional context
It's the same problem with Import Code Snippets

vuejs/vuepress#1309

@BuptStEve BuptStEve added bug Something isn't working vuepress When compatible with vuepress labels Feb 1, 2019
@BuptStEve BuptStEve self-assigned this Feb 1, 2019
@shigma
Copy link

shigma commented Feb 25, 2019

You can try env.loader.addDependency, it will be a new API invented by vuepress v1.0.0-alpha.40.

PR

@BuptStEve
Copy link
Owner Author

You can try env.loader.addDependency, it will be a new API invented by vuepress v1.0.0-alpha.40.

PR

Good job!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working vuepress When compatible with vuepress
Projects
None yet
Development

No branches or pull requests

2 participants