Closed querielo closed 2 years ago
I believe modification time was used because it is faster to check when there are hundreds of JS files compared to just using hash. However, maybe a combination of both should be used, modification time for the initial check and then file hash on 'modified' files.
I'll take it.
Right now, playcanvas-sync watches on modification time of files. It causes a problem when files are overwritten but their content is not changed.
Right not we check file hashes if modification time is changed to be sure that we don't reupload non-changed files.