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
Since the transpiling does take a considerable amount of time, it would be awesome if the files were only transpiled when changed (or the target file is missing).
It could be as simple as just comparing the timestamps on the original file and the generated file, or something more advanced as storing a hash for the original file. That would probably be overkill, though.
The text was updated successfully, but these errors were encountered:
This is a good idea. The file actually already has a hash (see Babel.LoadFromFileCache) so the MSBuild task would just need to check the cache before transforming the file.
The best solution is probably to update Babel.TransformAndSaveFile to check the cache via LoadFromFileCache before doing the transformation. If the cached data is valid, we don't need to do the transformation.
Since the transpiling does take a considerable amount of time, it would be awesome if the files were only transpiled when changed (or the target file is missing).
It could be as simple as just comparing the timestamps on the original file and the generated file, or something more advanced as storing a hash for the original file. That would probably be overkill, though.
The text was updated successfully, but these errors were encountered: