W3C home > Mailing lists > Public > public-webapps@w3.org > January to March 2012

File modification

From: Charles Pritchard <chuck@visc.us>
Date: Tue, 10 Jan 2012 13:29:34 -0800
Message-Id: <D5175D92-35AD-42DB-A6CC-99C77AA956FA@visc.us>
To: "public-webapps@w3.org" <public-webapps@w3.org>
Modern operating systems have efficient mechanisms to send a signal when a watched file or directory is modified.

File and FileEntry have a last modified date-- currently we must poll entries to see if the modification date changes. That works completely fine in practice, but it doesn't give us a chance to exploit the efficiency of some operating systems in notifying applications about file updates.

So as a strawman: a File.onupdated event handler may be useful.

-Charles
Received on Tuesday, 10 January 2012 21:37:02 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:49 GMT