gulp
ウォッチャーを作成する
サーチ…
ウォッチャータスク
config.paths.html
は、HTMLファイルへのパスを表します。
gulp.task("watch", function() {
gulp.watch(config.paths.html, ["html"]);
});
タスクをデフォルトに追加する必要があります。
gulp.task("default", ["html", "watch"]);
Modified text is an extract of the original Stack Overflow Documentation
ライセンスを受けた CC BY-SA 3.0
所属していない Stack Overflow