UNPKG

doevisualizations

Version:

Data Visualization Library based on RequireJS and D3.js (v4+)

18 lines (14 loc) 421 B
var gulp = require('gulp'); var bs = require('browser-sync').create(); gulp.task('browser-sync', function() { bs.init({ server: { baseDir: "./" } }); }); gulp.task('watch', ['browser-sync'], function () { gulp.watch("src/*.js").on('change', bs.reload); gulp.watch("src/*.css").on('change', bs.reload); gulp.watch("*.html").on('change', bs.reload); });