3 ms·
"Concurrently" is a nodejs library for running more than one task at once, it's necessary if you want to build Typescript and Tailwind with one call to `npm run
by twoquestions 2y ago
"Concurrently" is a nodejs library for running more than one task at once, it's necessary if you want to build Typescript and Tailwind with one call to `npm run build`, for example.
It's kind of a PITA to use, and just calling a Bun script is better.
- rattray 2y agoRight; what does it look like with bun?
- christophilus 2y agoI'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!