concurrently run server and client 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: concurrently node react
npm i -D concurrently