also watch for pack changes

This commit is contained in:
Johannes Loher 2021-01-21 01:24:17 +01:00
parent b806b5f35f
commit 4e5d7416ee

View file

@ -154,7 +154,11 @@ async function copyFiles() {
function buildWatch() {
gulp.watch("src/**/*.ts", { ignoreInitial: false }, buildTS);
gulp.watch("src/**/*.scss", { ignoreInitial: false }, buildSASS);
gulp.watch(["src/fonts", "src/lang", "src/templates", "src/*.json"], { ignoreInitial: false }, copyFiles);
gulp.watch(
["src/fonts", "src/lang", "src/templates", "src/*.json", "src/packs"],
{ ignoreInitial: false },
copyFiles,
);
}
/********************/