From: Marc Weber Date: 2010-01-14T18:03:55+09:00 Subject: xrefresh server, rb-inotify and ioselect Hi, This is of interest for all Linux devs doing web development. I patched the xrefresh server so that it runs on Linux. Not everything is implemented but it is useable: http://github.com/MarcWeber/xrefresh-server Changes will be merged upstream soon. The question I have is about IO.select line 97 http://github.com/MarcWeber/xrefresh-server/blob/linux/lib/xrefresh-server/linux/monitor.rb I think when running this app a long time I get bad file descriptor. When using a wait time of 0.01 I get this error message very soon. Is this a known issue? I contacted the author of rb-inotify. He told me I should rewrite the io select loop using C and see whether the same problem occurs. However you may just know about this issue without me rewriting everything in C.. In fact it doesn't hurt me much. I'm just curious. So is there someone who wants to try xrefresh on Linux and can verify this behaviour? Note: You have to list each file you want to watch in the config path section. Marc Weber PS: I am new to ruby so I may have done something obviously stupid.