From 4ec758a5383a901b052eab2102a0015219dd9f2b Mon Sep 17 00:00:00 2001 From: Alexander Surma Date: Mon, 23 Mar 2015 15:56:23 +0000 Subject: [PATCH] Add test:visual task --- gulpfile.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/gulpfile.js b/gulpfile.js index 77e66b11..0bd8c6b9 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -227,3 +227,13 @@ gulp.task('default', ['clean','mocha'], function (cb) { }); gulp.task('test', ['jshint', 'mocha']); + +gulp.task('test:visual', function() { + browserSync({ + notify: false, + server: './', + startPath: 'test/visual/index.html' + }); + + gulp.watch(['test/visual/**'], reload); +});