Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p><em>A bonified answer, albeit one that requires a largish library dependency (well-worth it IMO)!</em></p> <p>QT provides the <a href="http://doc.trolltech.com/4.4/qfilesystemwatcher.html" rel="nofollow noreferrer">QFileSystemwatcher</a> class, which uses the native mechanism of the underlying platform. </p> <p>Even better, you can use the QT language bindings for Python or Ruby. <a href="http://www.rkblog.rk.edu.pl/w/p/pyqt4-text-editor-final-changes/" rel="nofollow noreferrer">Here</a> is a simple PyQT4 application which uses <a href="http://doc.trolltech.com/4.4/qfilesystemwatcher.html" rel="nofollow noreferrer">QFileSystemWatcher</a>. </p> <p><strong>Notes</strong></p> <ul> <li>A good reference on on <a href="http://aralbalkan.com/1675" rel="nofollow noreferrer">creating deployable PyQT4 apps</a>, especially on OSX but should work for Windows also.</li> <li>Same solution previously posted <a href="https://stackoverflow.com/questions/61253/how-to-be-notified-of-file-directory-change-in-c-c-ideally-using-posix/61300#61300">here</a>. </li> <li>Other cross-platform toolkits may also do the trick (for example <a href="http://www.gnome.org/" rel="nofollow noreferrer">Gnome</a>'s <a href="http://library.gnome.org/devel/gio/unstable/" rel="nofollow noreferrer">GIO</a> has <a href="http://library.gnome.org/devel/gio/unstable/GFileMonitor.html" rel="nofollow noreferrer">GFileMonitor</a>, although it is UNIX only and doesn't support OSX's <a href="http://en.wikipedia.org/wiki/FSEvents" rel="nofollow noreferrer">FSEvents</a> mechanism afaik).</li> </ul>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload