Add link to gulp-rev-dist-clean in the readme #266
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi! First of all thank you for maintaining this package! I used it quite a lot in the past and loved it :)
I created gulp-rev-dist-clean back in 2017 out of a need I had to clean-up old files that had been removed from the
srcdirectory but that where still present in thedistdirectory even after runninggulp-rev.Usually you would completely empty the
distdirectory before runninggulp-rev, so that everything in thedistdirectory would correspond to actual files in thesrcdirectory, but this could get heavy with huge builds in watch mode. To prevent re-building everything, especially images, each time a file changes, and to keep thedistdirectory "fresh", I needed a solution.I tried other packages at that time, including
rev-del, but it did not support this specific use-case, so I decided to develop my own.Fast forward to today, I am still maintaining it and adding new features to it as it turns out it is also used by others. Therefore I wonder if we could add it to the list of "clean-up" tools offered by the community?
Thanks!