-
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
On Windows, the chokidar watcher does not work well #348
Comments
Hello @meteorlxy I am not being able to reproduce this error, I run I have tested with [email protected], [email protected] (installed via yarn global) and also directly from the master branch source. I also tried installing via npm i -g Can you point another example where it causes this error? |
Maybe there is something to do with the OS? Mine:
|
@hmatalonga |
So that's probably a Windows related problem... I have a Ubuntu-based distro and I am also using node v8.11.1 👍 |
@hmatalonga What about removing files?
Maybe this could be enhanced somehow? |
Looks like not a issue of VuePress:
I think that you can use
Same here, create a simple webpack project and test for |
The webpack error is not related to webpack. When unlinking a file, And the |
This issue is truly not a bug of webpack.
No, the webpack Closing this bug is due to you were reporting a bug but assumed that it's not a bug of VuePress. UpdateI'll close #346 (I originally thought it also said the middle error, but not = =) |
Just to wrap up this, Indeed after adding a component file and deleting the very same file will lead to the situation that @ulivz described here #351 However, it is possible that on Windows, besides this new issue, will still have problems with |
Then it will not work for my operating system or is there any way? because it really is very tedious to have to restart the server every time I add a new component and in my case I am doing a documentation migrating many components. |
It's not an issue of I misunderstood what he meant and made some meaningless conversation... I just want to express my thanks to the guy but he locked it immediately 😅 |
Guys Watcher 3 stop working Windows 10 64 bit. It was working half and hour ago now its seems to stop working. Using python latest version Python 3.7.2 Anyone please willing to help me out. i have try several thing still not able to find solulation back in run again watcher 3 OS WINDOWS 10 PRO licence copy |
So what's the real cause of that? |
Related to #346 , not only components, but also markdown files.
The current setting of
chokidar
only tracks the existed files, but does not track new files on Windows. (Maybe this is an issue ofchokidar
)vuepress/lib/dev.js
Lines 30 to 41 in d9b290b
In addtion, unlinking a markdown/component file will cause an webapck error first, and then successfully compiled after the
prepare
finish. Could be enhanced somehow?The text was updated successfully, but these errors were encountered: