diff --git a/server/scripts/dev-watch.ts b/server/scripts/dev-watch.ts index cfcb7a71..b3f944b8 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]);