🐞 fix: Make watch script pay attention to css files project-wide

This commit is contained in:
Keith Solomon
2025-11-11 11:11:47 -06:00
parent d2d9b3feb0
commit 2b6c08c087

View File

@@ -40,7 +40,7 @@ browserSync.watch(`static/js/*.js`, (event, file) => {
});
// Compile tailwind to css and reload on changes
browserSync.watch(["styles/**/*.css", "**/*.php"], (event, file) => {
browserSync.watch(["**/*.css", "**/*.php"], (event, file) => {
if (event !== "change") return;
tailwindToCSS();