gulp
Maak een watcher
Zoeken…
Watcher-taak
config.paths.html
vertegenwoordigt het pad naar uw HTML-bestand.
gulp.task("watch", function() {
gulp.watch(config.paths.html, ["html"]);
});
De taak moet ook standaard worden toegevoegd:
gulp.task("default", ["html", "watch"]);
Modified text is an extract of the original Stack Overflow Documentation
Licentie onder CC BY-SA 3.0
Niet aangesloten bij Stack Overflow