concurrently npm run code example
Example 1: concurrently node react
{
"scripts": {
"server": "node index.js",
"client": "npm start --prefix client",
"dev": "concurrently \"npm run server\" \"npm run client\""
}
}
Example 2: npm concurrently
npm install -g concurrently
Example 3: npm concurrently
"start": "concurrently \"command1 arg\" \"command2 arg\""