W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2015

[Bug 28502] New: Add file event watching.

From: <bugzilla@jessica.w3.org>
Date: Thu, 16 Apr 2015 23:47:55 +0000
To: public-webapps@w3.org
Message-ID: <bug-28502-2927@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=28502

            Bug ID: 28502
           Summary: Add file event watching.
           Product: WebAppsWG
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: File API
          Assignee: arun@mozilla.com
          Reporter: liamkarlmitchell@gmail.com
        QA Contact: public-webapps-bugzilla@w3.org
                CC: public-webapps@w3.org

It would be quite nice if there was the ability to get events from the os when
a file has been modified/updated/deleted.

A possible use case might be an online resource editor, where a user drag drops
the folder full of resources they wish to view and edit.

But if one of the files the browser has access to is edited in another program
on their computer (Example photoshop, paint, notepad etc) the javascript
application could then receive an event for the file change and update the
content/reload file as necessary.

Currently I think the only way to do this is to poll the file.lastModifiedDate
continuously.

Which sure I guess could be used but its not as optimal as listening for events
given by the OS would be.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Received on Thursday, 16 April 2015 23:47:57 UTC

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