Open jostylr opened 6 years ago
Temporary solution. Intend to add this feature in rewrite.
1) If you can delete a file in your build process, you can delete .checksum in the build directory and that will force everything to be rebuilt. 2) You can create a file called lprc.js in your project root directory and put the following code in it:
module.exports = function(Folder, args) {
Folder.checksum.tosave = function (name, text) {
var self = this;
var data = self.data;
var sha = self.sha1sync(text);
return sha;
}
};
This replaces the default checking function 'tosave' with one that always returns a truthy value and hence everything will get saved.
Request: