sebdeckers / grunt-rev

:punch: Asset revving for Grunt.js
MIT License
240 stars 54 forks source link

[IMPROVEMENT] Fix for Issue #30 #31

Open itnok opened 9 years ago

itnok commented 9 years ago

Problem/BUG => hash for big files was not correctly calculated

The fs library is already included and it looks like it works better than grunt.file.

With files bigger than few kilobytes the hash is now calculated in the right way. It looks like grunt.file.read either does not read the file correctly or not in full.

This change solves Issue #30