Files
lab/scripts/watch.js
zeekay 6d20ce7fdd feat: Extract zoo.lab from monorepo
- Full app extraction from zoo monorepo (source only)
- Configured for GitHub Pages deployment
- Static export enabled
- Custom domain: lab.zoo.ngo
- Excludes node_modules and build artifacts
2025-11-02 12:14:11 -08:00

19 lines
473 B
JavaScript

const watch = require("node-watch");
const { exec } = require("child_process");
const run = () => {
console.log("Compiling & Generating...");
exec("npx gulp less", function (error, stdout, stderr) {
console.log(stdout);
if (error) console.log(error);
if (stderr) console.log(stderr);
});
};
console.log("🔬 Watching Themes...");
watch("./src/themes", { recursive: true }, function (evt, name) {
console.log("%s changed.", name);
run();
});
run();