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