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.

Received on Tuesday, 10 January 2012 21:37:02 UTC

This archive was generated by hypermail 2.3.1 : Friday, 27 October 2017 07:26:38 UTC