Hacker News new | ask | show | jobs
by christophilus 721 days 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`,
    ]);
2 comments

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!