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.
lastModified
Would that solution be accepted?
@sauerman started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
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?