Create a watcher

Other topics

Watcher task

config.paths.html represents the path to your HTML file.

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

The task should be added to default as well:

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

Contributors

Topic Id: 5026

Example Ids: 17742

This site is not affiliated with any of the contributors.