DEV Community

Discussion on: Now both Express and React servers are running by single `npm run dev` command

Collapse
 
mkubdev profile image
Maxime Kubik

I suggest you to use pm2 to deamon your second command.

Collapse
 
hafizsaifullah profile image
Hafiz Saifullah • Edited

Issue has been resolved by installing concurrently using npm i concurrently --save and changing dev script by
"dev": "concurrently \"npm run dev-client\" \"nodemon index.js\""

Thanx a lot for your kind response, that is a lot for me.
Thank you @Kubdev