MCPcopy Create free account
hub / github.com/ScriptedAlchemy/tracedecay / recompileHolographic

Function recompileHolographic

dashboard/dev/run.mjs:68–86  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

66let recompilePending = false;
67
68async function recompileHolographic() {
69 if (recompiling) {
70 recompilePending = true;
71 return;
72 }
73 recompiling = true;
74 try {
75 await compileHolographicTailwindCss();
76 console.log("tracedecay dev recompiled holographic CSS");
77 } catch (err) {
78 console.error("tracedecay dev failed to recompile holographic CSS:", err);
79 } finally {
80 recompiling = false;
81 if (recompilePending) {
82 recompilePending = false;
83 scheduleHolographicRecompile();
84 }
85 }
86}
87
88function scheduleHolographicRecompile() {
89 if (recompileTimer) clearTimeout(recompileTimer);

Callers 1

Calls 4

logMethod · 0.45
errorMethod · 0.45

Tested by

no test coverage detected