Fix Coolify build: import watchComfyJob from watch.ts.

Extensions imported watch helpers from comfyLifecycle after they moved, so npm run build failed and every deploy since this morning rolled back.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Towsty
2026-09-02 09:05:40 -05:00
co-authored by Cursor
parent 1d29296a6f
commit c20229da0e
+2 -1
View File
@@ -16,7 +16,8 @@ import {
removeExtendTemp removeExtendTemp
} from '~/server/utils/library' } from '~/server/utils/library'
import { extractLastFrame, probeHasAudio } from '~/server/utils/ffmpeg' import { extractLastFrame, probeHasAudio } from '~/server/utils/ffmpeg'
import { ensureComfyReady, waitForComfySocket, watchComfyJob } from '~/server/utils/comfyLifecycle' import { ensureComfyReady } from '~/server/utils/comfyLifecycle'
import { waitForComfySocket, watchComfyJob } from '~/server/utils/watch'
import { comfyFilenamePrefix, queuePrompt, uploadImage } from '~/server/utils/comfy' import { comfyFilenamePrefix, queuePrompt, uploadImage } from '~/server/utils/comfy'
import { buildWorkflow } from '~/server/utils/workflow' import { buildWorkflow } from '~/server/utils/workflow'
import { writePendingJob } from '~/server/utils/pending' import { writePendingJob } from '~/server/utils/pending'