We currently have a project with a server
folder and a client
folder.
To run the project we have to cd to server
folder, type npm run nodemon
then, in a new Terminal tab/window, switch to the client
folder and run npm run proxy
.
The second command is a script in package.json:
"proxy": "ng serve --sourcemap --extractCss -o --hmr -e=hmr --proxy-config proxy.config.json",
So, how do I create one script in package.json to do both? I realize how to run scripts in parallel, but the odd part here is the 2 scripts in different directories. And different terminal windows.