This commit is contained in:
2023-01-26 20:55:52 +00:00
parent 33f604f5cb
commit 7bd647a7a0
109 changed files with 19909 additions and 15092 deletions

20
browser-sync/index.js Normal file
View File

@@ -0,0 +1,20 @@
const bs = require("browser-sync").create();
bs.watch("dist/styles.css", (e) => {
if (e === "change") {
bs.reload("styles.css");
}
});
bs.watch("dist/bundle.js", (e) => {
if (e === "change") {
bs.reload("bundle.js");
}
});
bs.watch("dist/**/*.php", () => bs.reload());
bs.init({
open: false,
proxy: "http://windycoys_wordpress",
});