Skip to content

Commit 6a72faf

Browse files
authored
Merge pull request paperclipai#1949 from vanductai/fix/dev-watch-tsx-cli-path
fix(server): use stable tsx/cli entry point in dev-watch
2 parents 1fd4092 + 9a70a4e commit 6a72faf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

server/scripts/dev-watch.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { fileURLToPath } from "node:url";
55
import { resolveServerDevWatchIgnorePaths } from "../src/dev-watch-ignore.ts";
66

77
const require = createRequire(import.meta.url);
8-
const tsxCliPath = require.resolve("tsx/dist/cli.mjs");
8+
const tsxCliPath = require.resolve("tsx/cli");
99
const serverRoot = path.resolve(path.dirname(fileURLToPath(import.meta.url)), "..");
1010
const ignoreArgs = resolveServerDevWatchIgnorePaths(serverRoot).flatMap((ignorePath) => ["--exclude", ignorePath]);
1111

0 commit comments

Comments
 (0)