Open
Description
- I confirm that this is an issue rather than a question.
Bug report
When changing imported files supported via markdown-it-include reload isn't triggered
Steps to reproduce
Install markdown-it-include via extendMarkdown
option in config.js
// in my config.js
markdown: {
lineNumbers: true,
extendMarkdown: md => {
md.use(require('markdown-it-include'), 'docs/api/');
}
}
What is expected?
Hot reload should be triggered and files recompiled
What is actually happening?
Whenever I change content in a file that is being imported nothing happens.
I have also tried adding the imported files in the extraWatchFiles
and the hot reload is triggered but it only refreshes the page without compiling.
To be able to see the changes I have to hit save in the parent file (which cannot be an imported file by itself otherwise it won't work).
Other relevant information
- My VuePress version is higher than
1.0.0-alpha.47
, the following is the output ofnpx vuepress info
in my VuePress project:
System:
OS: macOS 10.14.5
CPU: (12) x64 Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz
Binaries:
Node: 11.3.0 - ~/.nvm/versions/node/v11.3.0/bin/node
Yarn: 1.15.2 - /usr/local/bin/yarn
npm: 6.9.0 - ~/.nvm/versions/node/v11.3.0/bin/npm
Browsers:
Chrome: 74.0.3729.169
Firefox: Not Found
Safari: 12.1.1
npmPackages:
@vuepress/core: 1.0.0-alpha.48
@vuepress/theme-default: 1.0.0-alpha.48
vuepress: ^1.0.0-alpha.48 => 1.0.0-alpha.48
npmGlobalPackages:
vuepress: 0.14.11
Metadata
Metadata
Assignees
Labels
No labels