Add test:visual task
This commit is contained in:
parent
417f2254d9
commit
4ec758a538
10
gulpfile.js
10
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);
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user