mirror of
https://github.com/zoo-apps/lab.git
synced 2026-10-30 14:56:44 +00:00
- 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
19 lines
473 B
JavaScript
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();
|