Run Multiple Terminal Commands at the Same Time with Concurrently


TAGS: terminal

I've always opened two terminals to run a backend and frontend locally. It's not the worst thing in my workflow, but I love finding things to make it all a little smoother. Concurrently is an npm package that lets you run any commands at the same time.

Like npm run watch-js & npm run watch-less but better.

From their example: concurrently "npm:watch-js" "npm:watch-css" "npm:watch-node"

Learned this from Brad Traversy while watching his GraphQL series - https://www.youtube.com/watch?v=-XwkFm5a9lw