From 8bb97c0d2030f00ed48c9c0d14b1ecaac08dfc1f Mon Sep 17 00:00:00 2001 From: "mattia.astorino" Date: Thu, 13 Oct 2016 17:54:16 +0200 Subject: [PATCH] chore: Fix watch task to pre run build task --- gulpfile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gulpfile.js b/gulpfile.js index e779175ad..f88e5d4f2 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -369,7 +369,7 @@ gulp.task('optimize:icons', function() { * > Watch */ -gulp.task('watch', function() { +gulp.task('watch', ["build"], function() { gulp.watch(srcPath + '/themes/**/*.json', ['build:themes']); gulp.watch(srcPath + '/schemes/scheme.YAML-tmTheme', ['build:schemes']); gulp.watch(srcPath + '/widgets/widget.*', ['build:widgets']);