reitzig / ltx2any

Yet another LaTeX build wrapper, with one or two nifty features
GNU General Public License v3.0
59 stars 4 forks source link

Check file listener: new files, symlinks? #14

Open akerbos opened 11 years ago

akerbos commented 11 years ago

Sometimes, the daemon mode seems to overlook file changes.

There may be problems with

Investigate!

akerbos commented 9 years ago

listen keeps changing and issues with symlinks have (somewhat) been addressed. See here and here.

It is unclear whether the rather complex listen will be able to do what we want here in an easy and efficient way. One of the lead devs points out that using rb-inotify directly may be an alternative (if only for GNU/Linux). feather_watch may be worth keeping an eye on.

What are other alternatives?

e2 commented 9 years ago

It's a tough issue, and you'll probably get the most clarity from these: https://github.com/guard/listen/issues/280 and https://github.com/guard/listen/issues/279

akerbos commented 9 years ago

Thanks, I'll keep watching! Chances are that by the time I actually get around to working on this again, you'll have come up with something that works for me. :)

e2 commented 9 years ago

Also, as far as I know changing the directory structure while Listen is running is undefined on Linux.

reitzig commented 8 years ago

Seems not to be resolved in Listen yet.

Should we resolve all symlinks before passing files to Listen?