-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Automatic Reload not working? #221
Comments
Can you open the console and see whether there is some error? such as |
Also try |
This is what it shows me when executing and what's below when making the changes but it does not automatically recharge anyway
|
Have you tried |
Looked same to #123 |
@yyx990803 Ready already worked when running |
Looks like |
If you are on Windows, but you are running VuePress on a Linux Docker container, this problem still exists because process.platform is still 'linux'. I think this would be a better solution: webpack-contrib/webpack-serve#56 (comment) |
I am having this issue. Vuepress does not hot reload when I make changes. I used yarn to install vuepress and also tries vupress dev --host localhost. But it did'nt help |
I'm experiencing the same. File changes in markdown files can be detected when I change the configuration to the default (cf. module.exports = {
...,
extraWatchFiles: ["**/*.md", "**/*.vue"],
...
} However, automatic (or manual) reloading does work. I have to stop and restart the dev server every time. |
Same problem for me. With the |
I think this issue needs to be reopened |
I managed to get it working by reusing an older lockfile. Hope it helps. But I've tested it with |
I'm experiencing this issue as well. |
Similar regression for me when updated from |
I'm facing this issue after updating from Edit: returning to |
Can confirm hot reloading doesn't work after updating from 1.4.x to 1.5. It doens't work after rolling back either |
doesn't work here as well (OSX, 1.5) |
same problem. (Windows 10) node, npm, yarn, vuepress fresh installs. |
I got it working by downgrading dependency
Hope this helps to anyone struggling with the same problem |
@ansky-pro so is it an issue with webpack or vuepress its a bug right? |
What worked, as a workaround, for me is adding additional nodemon script in package.json
First install nodemon globally (npm install -g nodemon). |
This works! For clarity, if you use npm, you must also npm-force-resolutions. To summarize and clarify, you need to add two things to package.json if you use npm.
and
Followed by Result: after updating a *.md file, you don't need to hit refresh in the browser or restart Vuepress to see the changes. |
I attempted this, but it did not work in my case unfortunately. |
Works for me! Thx! 🎉 |
Having this issue and the suggestions haven't fixed it for me, unfortunately. Didn't realize how annoying the lack of hot reload could be this fixed it for me The issue is probably from me restructuring the root and doc folder |
Non of the above solutions fixed my issue, switched to linux, worked like a dream. |
You can have an automatic reload to be on the development server, for every change I have to reload the page manually
The command vuepress dev already works but when I make some change in the README.md it does not update automatically
The text was updated successfully, but these errors were encountered: