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); +});