concurrently server 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
"start": "concurrently \"command1 arg\" \"command2 arg\""