Commit Graph
3 Commits
Author SHA1 Message Date
anthonyandClaude Sonnet 5 2b5f68752f feat: supervise worker with pm2 instead of cron PID-check
Passenger only manages the Next.js app process; the worker now gets
the same crash-recovery/auto-restart via pm2, replacing the cron-driven
PID-file restart hack. Updates README deployment steps accordingly.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-11 14:49:49 +02:00
anthonyandClaude Sonnet 5 837dc954c2 fix: replace ts-node with tsx for worker scripts
TypeScript 7's CommonJS export no longer populates ts.sys, which
ts-node's config loader depends on, breaking `npm run worker` with
a TypeError. tsx (esbuild-based) doesn't rely on that API and
natively resolves tsconfig.json path aliases, so tsconfig-paths is
also no longer needed.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-11 14:22:46 +02:00
anthonyandClaude Sonnet 4.6 603c2b332c docs: add README
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-08-10 15:13:45 +02:00