<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:ent="http://www.purl.org/NET/ENT/1.0/" version="2.0">
  <channel>
    <title>Curiouser and Curiouser! on fsevents</title>
    <link>http://matt.blogs.it/</link>
    <description>RSS feed for topic fsevents</description>
    <copyright>Copyright 2008 Matt Mower. Some rights reserved.</copyright>
    <generator>Squib/0.5.0.382</generator>
    <managingEditor>self@mattmower.com</managingEditor>
    <webMaster>self@mattmower.com</webMaster>
    <language>en-gb</language>
    <item>
      <title>Fixing autotest</title>
      <link>http://matt.blogs.it/entries/00002836.html</link>
      <pubDate>Thu, 24 Apr 2008 10:25:48 +0100</pubDate>
      <description>&lt;p&gt;&lt;a href="http://zentest.rubyforge.org/ZenTest/classes/Autotest.html"&gt;Autotest&lt;/a&gt; is a great tool by &lt;a href="http://blog.zenspider.com/"&gt;Ryan Davis&lt;/a&gt; that sits in your project folder, scans for changes to your source files, deduces which tests those changes are likely to affect, re-runs those tests (or all tests if it can't guess) and presents a results summary.&lt;/p&gt;

&lt;p&gt;It means that every time you save or switch windows your tests run pretty much immediately showing you if there is a problem. But there is a cost.&lt;/p&gt;

&lt;p&gt;Autotest manages this feat by constantly polling your entire project folder. Now this doesn't have much of a performance impact.. the CPU &amp;amp; memory usage is largely negligible on my 2.4GHz MBP with 4GB of memory. But what it does do is make my disk tick every second with the ongoing activity. And that bugs me.&lt;/p&gt;

&lt;p&gt;Leopard offers the fsevents framework to 3rd party developers which allows applications to be notified, asynchronously, of changes to the file-system. Should mean no more polling, right? I've googled but the only reference I can find to such a plugin for Autotest is linked from &lt;a href="http://jerakeen.org/links/2007/11/eb24b872dcb81afc746329130c75dcfa/"&gt;here&lt;/a&gt; and comes up as "Service unavailable".&lt;/p&gt;

&lt;p&gt;Does anyone else have any leads?&lt;/p&gt;</description>
      <guid isPermaLink="true">http://matt.blogs.it/entries/00002836.html</guid>
      <ent:cloud ent:href="http://matt.blogs.it/topics/">
      </ent:cloud>
    </item>
  </channel>
</rss>
