3 ms·
I'm not on my machine where the project is, but it looks something like this: await Promise.all([ $`bun watch:server`, $`bun watch:tailwind`,
by christophilus 2y ago
I'm not on my machine where the project is, but it looks something like this:
await Promise.all([
$`bun watch:server`,
$`bun watch:tailwind`,
$`bun watch:client`,
]);
- moralestapia 2y agoHow's that different from: await Promise.all([ child_process.exec(...), child_process.exec(...), child_process.exec(...), ]); Syntax might be off but you get the idea ...
- christophilus 2y agoIt's probably not different. It works the way I want it to / expect it to in Bun, where with Node's process.* functions, I always run into a footgun before I get it working properly.
- moralestapia 2y agoOkay, I get what you mean.
- rattray 2y agoAh, interesting! Thanks!