Github user robertkowalski commented on a diff in the pull request:

    https://github.com/apache/couchdb-fauxton/pull/190#discussion_r21395535
  
    --- Diff: Gruntfile.js ---
    @@ -139,13 +139,18 @@ module.exports = function(grunt) {
         return helper.readSettingsFile().couchserver || defaults;
       }();
     
    -  grunt.initConfig({
    +  var config = {
     
         // The clean task ensures all files are removed from the dist/ 
directory so
         // that no files linger from previous builds.
         clean: {
           release:  cleanable,
    -      watch: cleanableAddons
    +      watch: cleanableAddons,
    +
    +      // used during release and couchapp_deploy steps to remove 
unnecessary un-md5-ified files
    +      oldResources: {
    --- End diff --
    
    You can delete the processed files in the callback of the grunt task, so 
the grunt task for md5 sums is self-contained. You get the path of the old file 
passed via `fileChange.oldPath` I think.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to