gulp-clean-old
Removes files and folders.
Information
Package | gulp-clean-old |
Description | This is a fork of the original gulp-clean, compatible with older versions of node |
Node Version | >= 0.8 |
Install
Install with npm.
npm install --save-dev gulp-clean-old
Example
var gulp = ;var clean = ; gulp;
Option read false prevents gulp to read the contents of the file and makes this task a lot faster.
After using gulp-clean-old the stream still contains the app/tmp and it can be used i.e. for moving the content to different location.
var gulp = ;var clean = ; gulp;
For safety files and folders outside the current working directory can be removed only with option force set to true.
License
MIT @ Peter Vilja