- From: <bugzilla@jessica.w3.org>
- Date: Thu, 16 Apr 2015 23:47:55 +0000
- To: public-webapps@w3.org
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