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-client & nodemon index.js"
when he run on terminal the following command
npm run dev
both terminals run with this command, but when i try to use following pattern, only the front end run...
Never lose curiosity
Software Engineer at a robotics startup in Brooklyn -> Queens
typescript, javascript, react, and python.
code to do something weird/helpful
learning rust as a new journey 😎
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
Never lose curiosity
Software Engineer at a robotics startup in Brooklyn -> Queens
typescript, javascript, react, and python.
code to do something weird/helpful
learning rust as a new journey 😎
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-client & nodemon index.js"
when he run on terminal the following command
npm run dev
both terminals run with this command, but when i try to use following pattern, only the front end run...
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
Nice!