fix: parcel watcher musl support

This commit is contained in:
Aiden Cline
2025-12-08 16:08:53 -06:00
parent 479cca29a5
commit 4dcda3d53d
5 changed files with 8 additions and 2 deletions

View File

@@ -60,7 +60,6 @@ export const TuiThreadCommand = cmd({
const cwd = args.project ? path.resolve(baseCwd, args.project) : process.cwd()
const localWorker = new URL("./worker.ts", import.meta.url)
const distWorker = new URL("./cli/cmd/tui/worker.js", import.meta.url)
const execDir = path.dirname(process.execPath)
const workerPath = await iife(async () => {
if (typeof OPENCODE_WORKER_PATH !== "undefined") return OPENCODE_WORKER_PATH
if (await Bun.file(distWorker).exists()) return distWorker