Suche…


Beobachteraufgabe

config.paths.html für den Pfad zu Ihrer HTML-Datei.

gulp.task("watch", function() {
    gulp.watch(config.paths.html, ["html"]);
});

Die Aufgabe sollte auch standardmäßig hinzugefügt werden:

gulp.task("default", ["html", "watch"]);


Modified text is an extract of the original Stack Overflow Documentation
Lizenziert unter CC BY-SA 3.0
Nicht angeschlossen an Stack Overflow