gulp
Crear un observador
Buscar..
Tarea de vigilante
config.paths.html
representa la ruta a su archivo HTML.
gulp.task("watch", function() {
gulp.watch(config.paths.html, ["html"]);
});
La tarea también debe agregarse al valor predeterminado:
gulp.task("default", ["html", "watch"]);
Modified text is an extract of the original Stack Overflow Documentation
Licenciado bajo CC BY-SA 3.0
No afiliado a Stack Overflow