From c9cb7ff7db90435d12540b3df538ac28a67ba00d Mon Sep 17 00:00:00 2001 From: Clement Date: Mon, 20 Jul 2020 17:02:03 +0200 Subject: [PATCH] :construction_worker: Add a watch task without server Fix #1 --- gulpfile.babel.js | 4 ++++ package.json | 1 + 2 files changed, 5 insertions(+) diff --git a/gulpfile.babel.js b/gulpfile.babel.js index 9565ab1..d101246 100644 --- a/gulpfile.babel.js +++ b/gulpfile.babel.js @@ -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)); diff --git a/package.json b/package.json index 5dead98..b61b362 100644 --- a/package.json +++ b/package.json @@ -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"