Open Enteleform opened 4 years ago
I just noticed that changes made to themeConfig.sidebar
are not reflected either.
Yes that is ture. The sidebar is rendered based on the $page
or , the same object $site.pages
.
This variable is generated when build starts, and will not change when hotload triggers.
So anything related to it won't support hotload, such as sidebar, frontmatter, prev and next links, last edit time and so on.
It's not a bug I think, just a feature enhancement.
@meteorlxy @kefranabg I have seen feture request like this a few times, why not make $site.pages support hot load?
I am willing to help, but I would like to ask first, as a few PR of me is not being reviewed so far.
To avoid wasting your time, it's best to open a feature request issue first and wait for approval before working on it.
I think it is a bug, see #1283 . They simply don't have the time to dig deep into it.
I followed this issue, but uliuz adds few comment in his code, so there are about 1/3 source code of @vuepress/core
I can not understand it's meaning. A lot of functions have short names, and with plenty of variables, hard for me to figure out what is it doing. So ..... 😅 I think I cannot help with this one.
I think it is a bug, see #1283 . They simply don't have the time to dig deep into it.
Then they don't have the time to create a working product because this is essential to a working product imo.
Bug report
Steps to reproduce
./docs/README.md
sidebar: auto
vuepress dev docs --host localhost
What is expected?
What is actually happening?
Other relevant information
possibly related to #1399
output of
npx vuepress info
in my VuePress project: