So I did some research. We could use the new "File System Access" API -> https://developer.mozilla.org/en-US/docs/Web/API/FileSystemFileHandle
The WebApi would need to poll for filechanges tho. After a set interval it would check if lastModified of the file changed and would reload if needed.
Would that solution be accepted?
© Espruino, powered by microcosm.
Report a problem