[yarn] Make dev script only build things once

This commit is contained in:
Laura Hausmann 2023-11-15 15:53:55 +01:00
parent 141c134698
commit ed2050e6be
No known key found for this signature in database
GPG key ID: D044E84C5BE01605

View file

@ -7,16 +7,11 @@ const execa = require("execa");
stderr: process.stderr, stderr: process.stderr,
}); });
await execa("yarn", ["workspace", "iceshrimp-js", "build"], { await execa("yarn", ["build"], {
stdout: process.stdout, stdout: process.stdout,
stderr: process.stderr, stderr: process.stderr,
}) })
await execa("yarn", ["workspaces", "foreach", "-Apitv", "run", "build"], {
stdout: process.stdout,
stderr: process.stderr,
});
execa("yarn", ["gulp", "watch"], { execa("yarn", ["gulp", "watch"], {
cwd: __dirname + "/../", cwd: __dirname + "/../",
stdout: process.stdout, stdout: process.stdout,