yasgui
Version:
Yet Another SPARQL GUI
24 lines (21 loc) • 612 B
JavaScript
var gulp = require("gulp"),
connect = require("gulp-connect"),
paths = require("./paths.js"),
livereload = require("gulp-livereload");
gulp.task("watch", function() {
gulp.watch(
["./src/**/*.js", "./node_modules/yasgui-yasqe/dist/*.js", "./node_modules/yasgui/yasgui-yasr/dist/*.js"],
["browserifyForDebug"]
);
gulp.watch("./src/**/*.scss", ["makeCss"]);
gulp.watch("./*.html", function(files) {
gulp.src(files.path).pipe(connect.reload());
});
});
gulp.task("connect", function() {
connect.server({
root: [__dirname + "/../"],
port: 4001,
livereload: true
});
});