file reloading FF #jscad-web-v1
hrgdavor opened this issue · comments
Fix file reloading on firefox.
Using lastModified is not really a valid assumption per the spec. It seems to work on chrome, but I would really like to make that reliable.
It probably means we need to re-read all the files at each check, and compare with the contents in our virtual fs. Not ideal, but it's how the existing jscad works, and seems fine even if its inefficient for large files.
Possibly we do not ned to read file contents but just requires the File again and then read lastModified.
looks like a dead end for now