Skip to content

Commit 4112342

Browse files
authored
Update gulpfile.js
1 parent 28e73e5 commit 4112342

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

gulpfile.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,3 +187,13 @@ gulp.task('deploy', function (cb) {
187187
console.log('Please add your defined Theme ex: --luma'.red);
188188
}
189189
})
190+
191+
192+
// cache flush task
193+
gulp.task('cache-flush', function (cb) {
194+
exec('php bin/magento cache:flush', function (err, stdout, stderr) {
195+
console.log(stdout);
196+
console.log(stderr);
197+
cb(err);
198+
});
199+
})

0 commit comments

Comments
 (0)