summaryrefslogtreecommitdiffstats
path: root/gulpfile.js/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'gulpfile.js/index.js')
-rw-r--r--gulpfile.js/index.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/gulpfile.js/index.js b/gulpfile.js/index.js
index d2f2396..c9f01b8 100644
--- a/gulpfile.js/index.js
+++ b/gulpfile.js/index.js
@@ -1,6 +1,6 @@
'use strict'
-const { parallel, series, tree } = require('gulp')
+const { parallel, series, tree, watch } = require('gulp')
const task = require('./lib/task')
const bundleName = 'ui'
@@ -84,7 +84,7 @@ const previewBuildTask = task({
const previewServeTask = task({
name: 'preview:serve',
- call: previewServe(previewDestDir, { port: 5252, livereload, watch: { glob: glob.all, call: previewBuildTask } }),
+ call: previewServe(previewDestDir, { port: 5252, livereload }, () => watch(glob.all, previewBuildTask)),
})
const previewTask = task({