Merge pull request #71 from google/gulp-visual-test

Add test:visual task
master
Addy Osmani 2015-03-23 16:01:40 +00:00
commit 683fbd9bb6
1 changed files with 10 additions and 0 deletions

View File

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