gulp
Crea un osservatore
Ricerca…
Compito di osservatore
config.paths.html
rappresenta il percorso del tuo file HTML.
gulp.task("watch", function() {
gulp.watch(config.paths.html, ["html"]);
});
L'attività dovrebbe essere aggiunta anche a default:
gulp.task("default", ["html", "watch"]);
Modified text is an extract of the original Stack Overflow Documentation
Autorizzato sotto CC BY-SA 3.0
Non affiliato con Stack Overflow