loading...

re: Run React-Frontend and Nodejs-Backend with one command VIEW POST

TOP OF THREAD FULL DISCUSSION
re: I am using express server for back-end and react for front-end. my instructor, in video use script as follow in package.json "dev": "npm run dev-cl...
 

"dev": "npm run dev-client & nodemon index.js"

It should be "dev": "npm run dev-client && nodemon index.js".

 

It also was not working but for now 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 @koji

code of conduct - report abuse