implement inotify directory watcher

Hmm... seem to have tracked this down to a bug in gdc-2.064 binaries.  I've switched to gdc-2.065 and it's gone away.  This might be difficult to track down.