On my short list of "things to look into real soon" "This module uses the Inotify interface provided by the linux kernel. This makes it easy to watchout for events on a lot of files"
http://pypi.python.org/pypi/inotify/0.0.1 On Tue, Oct 12, 2010 at 6:06 PM, Terry Brown <[email protected]> wrote: > > Just discovered `inotifywait` (I'm sure it's less than 6-7 years old :-), the > linux command line command to wait for a file to change: > > while inotifywait present.leo; do rst2s5 present.txt >present.html; done > > Nice thing about that is it doesn't really matter which file changed, it > might have been present.css or something, but if you're doing the editing in > Leo then saving the outline will save not only the derived files but also the > .leo file, triggering the next step in the process, whatever it may be. > > Cheers -Terry > > -- > You received this message because you are subscribed to the Google Groups > "leo-editor" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/leo-editor?hl=en. > > -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/leo-editor?hl=en.
