Closed BuptStEve closed 4 years ago
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:
vuepress dev
foo.vue
Expected behavior After modifying the source file, we should get a new content.
Additional context It's the same problem with Import Code Snippets
https://github.com/vuejs/vuepress/issues/1309
You can try env.loader.addDependency, it will be a new API invented by vuepress v1.0.0-alpha.40.
env.loader.addDependency
PR
You can try env.loader.addDependency, it will be a new API invented by vuepress v1.0.0-alpha.40. PR
Good job!
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:
vuepress dev
foo.vue
, and save itExpected behavior After modifying the source file, we should get a new content.
Additional context It's the same problem with Import Code Snippets
https://github.com/vuejs/vuepress/issues/1309