You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(Note: I'm using browserify-incremental CLI, which internally uses this module to create the cache)
The thing is that I use typescript sources that get compiled into new js files with new modified times even though the sources themselves do not change, which means that the incremental build always think they changed even when they actually didn't.
Could there be an option to switch from mtimes to md5/sha1 hashes?
Actually it could even be both for speed reasons:
if mtime did not change, file did not change
else if hash did not change file did not change and update mtime
else file did change and update mtime and hash
(Note: I'm using browserify-incremental CLI, which internally uses this module to create the cache)
The thing is that I use typescript sources that get compiled into new js files with new modified times even though the sources themselves do not change, which means that the incremental build always think they changed even when they actually didn't.
Could there be an option to switch from mtimes to md5/sha1 hashes?
Actually it could even be both for speed reasons:
if mtime did not change, file did not change
else if hash did not change file did not change and update mtime
else file did change and update mtime and hash
Helpful code
The text was updated successfully, but these errors were encountered: