-
-
Notifications
You must be signed in to change notification settings - Fork 586
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
Chokidar crashes on windows #312
Comments
try
|
Unfortunately it's still not working. What I posted was just a simpler example but in my node-webkit app, the program shouldn't stop running even if I had set persistent to false. But the program stops completely without giving any details. Do you have any suggestions for debugging? It's strange. |
On windows chokidar is just using node's native Does this occur outside of |
es128, good question. This issues happens both with |
I don't know. Can't reproduce, and seems like something more localized to what you're doing somehow. If chokidar suddenly stopped working or caused node processes to crash for all windows users (or even a significant segment of it), we'd be hearing about it from a lot of people. And we have heard from other users of NW.js on Windows along the way (having much more minor problems) Perhaps there's a weirdly problematic fs entry where you're watching? What happens if you watch a much smaller directory in a completely different area of the system's file tree? |
When I get home I'll check it out on my windows machine with smaller directories. If we can't reproduce it after that then feel free to close the issue. |
Would be interested to know what happened @JBarna |
So it's still crashing on my machine. I tried hard to install node-segfault-handler and after installing Microsoft Visual Studio 2013, I found out that node-segfault-handler doesn't even work with windows :(. So.... there's really no way for me to debug this issue sadly. |
Happens for me too. |
Found an interesting article that might be relevant http://stackoverflow.com/a/8636001 |
Is this still an issue on windows? How did you resolve these/any other libraries to use cross platform? |
Me too. I can watch single file or sub folder in running folder. But when I change to be full path, It does not work like your issue. |
Update README.md
I first came across this issue when I was using Chokidar to watch files with NW.js. It works great on my MacBook pro, but crashes on my windows machine. But it's the weirdest thing, node just ends and there's absolutely no error reports or stack traces. I even installed node-debug to see what was going wrong, and still it wouldn't give me any answers.
Here's the code:
The program crashes when c.watch(curdirpath) is executed.
I'm using IO.js v2.0.2.
I'm free to help debug. It's happened on two different window machines so far.
The text was updated successfully, but these errors were encountered: