This commit is contained in:
louiscklaw
2025-01-31 21:01:16 +08:00
parent fc6f79b133
commit e08987a3b3
8150 changed files with 1149383 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
/**
* Require Browsersync
*/
var browserSync = require("browser-sync");
/**
* Run Browsersync with server config
*/
browserSync({
watch: true,
watchOptions: {
ignoreInitial: true,
ignored: "*.txt",
},
files: ["src/**/*.php", "src/**/*.css", "app/*.html", "app/css/*.css"],
watchEvents: ["add", "change", "unlink", "addDir", "unlinkDir"],
reloadDelay: 10,
// Using a localhost address with a port
proxy: "localhost:8000",
});