Skip to content

Commit c24cfff

Browse files
committed
chore(monorepo): Remove nx reset from bootstrap script
1 parent 13010bf commit c24cfff

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

tools/scripts/src/bootstrap.mjs

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
------------------------------------------------------------------- */
1919

2020
import { build } from "esbuild";
21-
import { $, chalk, echo } from "zx";
21+
import { chalk, echo } from "zx";
2222

2323
try {
2424
echo`${chalk.whiteBright("⚙️ Bootstrapping the monorepo...")}`;
@@ -40,16 +40,16 @@ try {
4040
platform: "node"
4141
});
4242

43-
const proc = $`pnpm nx reset --onlyDaemon`.timeout(`${2 * 60}s`);
44-
proc.stdout.on("data", data => {
45-
echo`${data}`;
46-
});
47-
const result = await proc;
48-
if (!result.ok) {
49-
throw new Error(
50-
`An error occurred while resetting the Nx daemon process: \n\n${result.message}\n`
51-
);
52-
}
43+
// const proc = $`pnpm nx reset --onlyDaemon`.timeout(`${2 * 60}s`);
44+
// proc.stdout.on("data", data => {
45+
// echo`${data}`;
46+
// });
47+
// const result = await proc;
48+
// if (!result.ok) {
49+
// throw new Error(
50+
// `An error occurred while resetting the Nx daemon process: \n\n${result.message}\n`
51+
// );
52+
// }
5353

5454
echo`${chalk.green("Completed monorepo bootstrapping successfully!")}`;
5555
} catch (error) {

0 commit comments

Comments
 (0)