#!/usr/bin/env node /** * Start the Content Generation Worker * This should run as a separate process alongside the main Astro server */ import '../src/workers/contentGenerator.js'; console.log('🚀 Content Generation Worker is running...'); console.log('Press CTRL+C to stop'); // Keep process alive process.on('SIGINT', async () => { console.log('\n⏹️ Shutting down worker...'); process.exit(0); });