Hacker News new | ask | show | jobs
by rattray 725 days ago
Right; what does it look like with bun?
1 comments

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`,
    ]);
How'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 ...
It'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.
Okay, I get what you mean.
Ah, interesting! Thanks!