sp-codes.de/bower_components/what-input/gulpfile.js/tasks/default.js

13 lines
310 B
JavaScript
Raw Normal View History

2016-10-28 17:33:25 +00:00
var gulp = require('gulp');
var browserSync = require('browser-sync').create();
gulp.task('default', ['clean', 'scripts'], function() {
browserSync.init({
server: {
baseDir: './'
}
});
gulp.watch(['./what-input.js', './polyfills/*.js'], ['scripts']).on('change', browserSync.reload);
});