Closed jinxc closed 11 years ago
I haven't tested on Windows at all, but looks like your problem is a bug in fs-watch-tree, a dependency of buffet. File watching is very OS-specific and a reliable cross-platform solution has been elusive (even the node core fs.watch
api is insufficient, thus the dependency). Have you tried disabling file watching with the watch: false
option?
Thanks for your answer. I have tried disabling file watching with the watch: false option, it's ok, but in reality when my app is running, files folder will change at the same time. I think i have to find another way... Anyway, thanks a lot!
when files change,the server will shut down
events.js:71 throw arguments[1]; // Unhandled 'error' event ^ Error: watch EPERM at errnoException (fs.js:806:11) at FSEvent._handle.onchange (fs.js:824:26)
and there are other problems when i use buffet in windows. does buffet suppert windows?