Branch: Tag:

2015-10-05

2015-10-05 13:29:19 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Filesystem.Monitor [Inotify]: Fixed initialization.

Inotify seems not to notify on preexisting paths, so help it along.

912:    release_monitor(this);    }    wd = new_wd; +  if (initial) { +  // NB: Inotify seems to not notify on preexisting paths, +  // so we need to strap it along. +  check(); +  }    return;    }    };