Last active
October 10, 2016 07:26
Revisions
-
dmitrylebedev revised this gist
Oct 10, 2016 . 1 changed file with 1 addition and 4 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,10 +1,7 @@ // Локальный сервер gulp.task("serve", function() { server.init({ server: "build" }); gulp.watch("sass/**/*.{scss,sass}", ["style"]); -
dmitrylebedev created this gist
Oct 10, 2016 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,19 @@ // Локальный сервер gulp.task("serve", function() { server.init({ server: "build", notify: false, open: true, ui: false }); gulp.watch("sass/**/*.{scss,sass}", ["style"]); gulp.watch("*.html", ["copyhtml"]); gulp.watch("build/*.html").on("change", server.reload); }); // Копирует html из корня проекта в папку build gulp.task("copyhtml", function() { return gulp.src("*.html") .pipe(gulp.dest("build/")); });