👷 Add a watch task without server

Fix #1
This commit is contained in:
Clement 2020-07-20 17:02:03 +02:00
parent 03111240d7
commit c9cb7ff7db
2 changed files with 5 additions and 0 deletions

View File

@ -30,6 +30,10 @@ gulp.task('build',
gulp.task('default',
gulp.series('build', server, watch));
// Build emails, run the server, and watch for file changes
gulp.task('watch',
gulp.series('build', watch));
// Build emails, then send to litmus
gulp.task('litmus',
gulp.series('build', creds, aws, litmus));

View File

@ -7,6 +7,7 @@
"scripts": {
"start": "gulp",
"build": "gulp --production",
"watch": "gulp watch --production",
"zip": "gulp zip --production",
"litmus": "gulp litmus --production",
"mail": "gulp mail --production"