Gist c85dd820e20ad40ed05f07b3ea0eb4a8
✓ Published0🌍 Public
OOhtsu
Last edited Mar 1, 2018
Created on Mar 1, 2018
This example shows a Gulp task that creates a timestamped backup of an Angular project directory. It uses `gulp.src` to copy all project files except `node_modules` into a new folder named after the current directory and the current time, formatted with a custom `dateFormat` utility. The task accepts an optional `m` argument via `minimist` to append a message to the backup folder name. The code demonstrates file-watching and build automation with Gulp’s task system and path handling through `path.parse`.
AI-generated description