Recherche…


Tâche de surveillance

config.paths.html représente le chemin d'accès à votre fichier HTML.

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

La tâche doit également être ajoutée à la valeur par défaut:

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


Modified text is an extract of the original Stack Overflow Documentation
Sous licence CC BY-SA 3.0
Non affilié à Stack Overflow