Browse Source

👷 Add a watch task without server

Fix #1
main
Clement 8 months ago
parent
commit
c9cb7ff7db
2 changed files with 5 additions and 0 deletions
  1. +4
    -0
      gulpfile.babel.js
  2. +1
    -0
      package.json

+ 4
- 0
gulpfile.babel.js 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));


+ 1
- 0
package.json 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"


Loading…
Cancel
Save