This fixes the problem where .ref files don't update on refresh.
The problem is that after stripping off the .ref, the file referenced by filename doesn't exist, and so it has a timestamp of 0. When we compare it with the timestamp stored in the memoization cache, we always find that the file hasn't changed.
The solution is to swap the timestamp comparison with a comparison of the md5 of the content before it is compiled.
This fixes the problem where .ref files don't update on refresh.
The problem is that after stripping off the .ref, the file referenced by
filename
doesn't exist, and so it has a timestamp of 0. When we compare it with the timestamp stored in the memoization cache, we always find that the file hasn't changed.The solution is to swap the timestamp comparison with a comparison of the md5 of the content before it is compiled.