🐞 fix: Make watch script pay attention to css files project-wide
This commit is contained in:
@@ -40,7 +40,7 @@ browserSync.watch(`static/js/*.js`, (event, file) => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
// Compile tailwind to css and reload on changes
|
// 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;
|
if (event !== "change") return;
|
||||||
|
|
||||||
tailwindToCSS();
|
tailwindToCSS();
|
||||||
|
|||||||
Reference in New Issue
Block a user