const execa = require("execa");
(async () => {
await execa("pnpm", ["clean"], {
cwd: __dirname + "/../",
stdout: process.stdout,
stderr: process.stderr,
});
execa("pnpm", ["--filter", "backend", "watch"], {
const start = async () => {
try {
await execa("pnpm", ["start"], {
} catch (e) {
await new Promise((resolve) => setTimeout(resolve, 3000));
start();
}
};
})();