-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Hot reload doesn't normal work without --temp .temp #1536
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
Comments
I've realized that changing (adding or deletigin items) in the sidebar are not properly hot-reloaded. Navbar is not affected. |
Since you're using a globally installed vuepress, the temp files will be placed under the global installed directory so that VuePress cannot detect the change of it. BTW, the docs has been updated. |
@xinyii 非常感谢你提供的帮助 : 在0.x的版本中,sidebar自动更新是可以正常工作的。 |
@AJLoveChina 我也遇到同样的问题。在1.x下,必须指定 |
The same issue +1 |
The same issue +1 |
1 similar comment
The same issue +1 |
Bug report
If you do not set
--temp .temp
, hot reload can only reload markdown, but can not reloadconfig.js
files, navigation bar, sidebar title, front matter, etc.Version
Steps to reproduce
npm install -g vuepress@next
echo '# Hello VuePress!' > README.md
.vuepress/config.js
vuepress dev .
.vuepress/config.js
What is expected?
sidebar title '
home
tonewHome
What is actually happening?
no change
Other relevant information
Websocket connection is normal.
The text was updated successfully, but these errors were encountered: