aboutsummaryrefslogtreecommitdiff
path: root/gulpfile.js
diff options
context:
space:
mode:
Diffstat (limited to 'gulpfile.js')
-rw-r--r--gulpfile.js11
1 files changed, 7 insertions, 4 deletions
diff --git a/gulpfile.js b/gulpfile.js
index 724a0b1..1e98a86 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -46,9 +46,7 @@ gulp.task('diller-mqtt', function () {
],
env: {NODE_ENV: 'development'},
tasks: ['diller-mqtt-reload'],
- stdout: false,
- //readable: false,
- a: ''
+ stdout: false
}).on('readable', function () {
return readable(state, this);
});
@@ -58,6 +56,8 @@ gulp.task('diller-web-reload', function () {
});
gulp.task('diller-web', ['bower'], function () {
+ var state = {};
+
nodemon({
script: 'diller-web.js',
delay: 500,
@@ -69,7 +69,10 @@ gulp.task('diller-web', ['bower'], function () {
'src/mqtt/'
],
env: {NODE_ENV: 'development'},
- tasks: ['diller-web-reload']
+ tasks: ['diller-web-reload'],
+ stdout: false
+ }).on('readable', function () {
+ return readable(state, this);
});
});