Skip to content

Commit f56854f

Browse files
committed
Don't need npx
1 parent 954f006 commit f56854f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

templates/rescript-template-vite/vite.config.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ function rescript() {
3636
},
3737
buildStart: async function () {
3838
if (command === "build") {
39-
logger.info(execSync("npx rescript").toString().trim());
39+
logger.info(execSync("rescript").toString().trim());
4040
} else {
41-
rescriptProcressRef = spawn("npx", ["rescript", "-w"]);
41+
rescriptProcressRef = spawn("rescript", ["-w"]);
4242
logger.info(`Spawned rescript -w`);
4343

4444
// Process standard output

0 commit comments

Comments
 (0)