From c8bb1382842beb15df4f91117bed4f49627ac4a3 Mon Sep 17 00:00:00 2001 From: dotta Date: Sat, 28 Mar 2026 11:14:45 -0500 Subject: [PATCH] Fix dev watch tsx cli resolution --- server/scripts/dev-watch.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/scripts/dev-watch.ts b/server/scripts/dev-watch.ts index cfcb7a71660..b3f944b8982 100644 --- a/server/scripts/dev-watch.ts +++ b/server/scripts/dev-watch.ts @@ -5,7 +5,7 @@ import { fileURLToPath } from "node:url"; import { resolveServerDevWatchIgnorePaths } from "../src/dev-watch-ignore.ts"; const require = createRequire(import.meta.url); -const tsxCliPath = require.resolve("tsx/dist/cli.mjs"); +const tsxCliPath = require.resolve("tsx/cli"); const serverRoot = path.resolve(path.dirname(fileURLToPath(import.meta.url)), ".."); const ignoreArgs = resolveServerDevWatchIgnorePaths(serverRoot).flatMap((ignorePath) => ["--exclude", ignorePath]);