Rocky_Mountain_Vending/.pnpm-store/v10/files/5b/087ca356135c7dc77aa6f929fb5b59e9707aaba2f1d15810771b2ab178caa654067dfe7a6a9b4af94bf4a5a0acfe7f11a7aa365af42e7ffae4da5e59d1ee49
DMleadgen 46d973904b
Initial commit: Rocky Mountain Vending website
Next.js website for Rocky Mountain Vending company featuring:
- Product catalog with Stripe integration
- Service areas and parts pages
- Admin dashboard with Clerk authentication
- SEO optimized pages with JSON-LD structured data

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 16:22:15 -07:00

41 lines
No EOL
1.3 KiB
Text

import * as Log from '../../../build/output/log';
/**
* Subscribes to compilation events for `project` and prints them using the
* `Log` library.
*
* The `signal` argument is partially implemented. The abort may not happen until the next
* compilation event arrives.
*/ export function backgroundLogCompilationEvents(project, { eventTypes, signal } = {}) {
;
(async function() {
for await (const event of project.compilationEventsSubscribe(eventTypes)){
if (signal?.aborted) {
return;
}
switch(event.severity){
case 'EVENT':
Log.event(event.message);
break;
case 'TRACE':
Log.trace(event.message);
break;
case 'INFO':
Log.info(event.message);
break;
case 'WARNING':
Log.warn(event.message);
break;
case 'ERROR':
Log.error(event.message);
break;
case 'FATAL':
Log.error(event.message);
break;
default:
break;
}
}
})();
}
//# sourceMappingURL=compilation-events.js.map